Esempio n. 1
0
        protected virtual void Parse(Dictionary <string, string> properties)
        {
            // Parse the transform
            Transform = TransformFunction.ParseCollectionFromString(properties.GetOrDefault("transform", "none"));
            if (Parent != null)
            {
                Transform = Parent.Transform.Concat(Transform);
            }

            // Parse the most general arguments: fill, fill-rule, stroke, stroke-width, stroke-linejoin, stroke-linecap
            PathStyle = new PathStyle(properties, Parent?.PathStyle);
        }