code: private static Style.FillRule  parseFillRule(String val)
     {
        if ("nonzero".equals(val))
           return Style.FillRule.NonZero;
        if ("evenodd".equals(val))
           return Style.FillRule.EvenOdd;
        return null;
     }
docs: Parse fill rule