Ejemplo n.º 1
0
        protected override Css.Value Clone()
        {
            SVGRectFunction result = new SVGRectFunction();

            result.Values = CopyInnerValues();
            return(result);
        }
Ejemplo n.º 2
0
        public override ShapeProvider ToShape(SVGElement context, RenderContext renderer, out Css.Value value)
        {
            // Convert into an SVG rect function so it can store a cached square:
            SVGRectFunction rect = new SVGRectFunction();

            rect.Values = Values;
            value       = rect;

            Css.Value junk;
            return(value.ToShape(context, renderer, out junk));
        }