Beispiel #1
0
        public SVGFill Clone()
        {
            SVGFill fill = new SVGFill(this.color, this.blend, this.fillType, this.gradientType);

            fill.gradientId        = this.gradientId;
            fill.gradientTransform = this.gradientTransform;
            if (gradientColors != null)
            {
                fill.gradientColors = gradientColors.Clone();
            }
            return(fill);
        }
Beispiel #2
0
        public SVGFill Clone()
        {
            SVGFill fill = new SVGFill(this.color, this.blend, this.fillType, this.gradientType);

            fill.gradientId = this.gradientId;
            fill.transform  = this.transform;
            fill.opacity    = this.opacity;;
            fill.viewport   = this.viewport;
            if (gradientColors != null)
            {
                fill.gradientColors = gradientColors.Clone();
            }
            return(fill);
        }