code: private static VectorEffect  parseVectorEffect(String val)
     {
        switch (val)
        {
           case NONE:                 return Style.VectorEffect.None;
           case "non-scaling-stroke": return Style.VectorEffect.NonScalingStroke;
           default:                   return null;
        }
     }
docs: Parse a vector effect keyword