Пример #1
0
        internal SLGradientFill Clone()
        {
            SLGradientFill gf = new SLGradientFill(this.listThemeColors);

            gf.IsLinear           = this.IsLinear;
            gf.decAngle           = this.decAngle;
            gf.PathType           = this.PathType;
            gf.Direction          = this.Direction;
            gf.HasFlip            = this.HasFlip;
            gf.vFlip              = this.vFlip;
            gf.HasRotateWithShape = this.HasRotateWithShape;
            gf.bRotateWithShape   = this.bRotateWithShape;
            for (int i = 0; i < this.GradientStops.Count; ++i)
            {
                gf.GradientStops.Add(this.GradientStops[i].Clone());
            }

            return(gf);
        }
Пример #2
0
        internal SLGradientFill Clone()
        {
            SLGradientFill gf = new SLGradientFill(this.listThemeColors);
            gf.IsLinear = this.IsLinear;
            gf.decAngle = this.decAngle;
            gf.PathType = this.PathType;
            gf.Direction = this.Direction;
            gf.HasFlip = this.HasFlip;
            gf.vFlip = this.vFlip;
            gf.HasRotateWithShape = this.HasRotateWithShape;
            gf.bRotateWithShape = this.bRotateWithShape;
            for (int i = 0; i < this.GradientStops.Count; ++i)
            {
                gf.GradientStops.Add(this.GradientStops[i].Clone());
            }

            return gf;
        }