Exemple #1
0
        internal SLFill Clone()
        {
            SLFill fill = new SLFill(this.listThemeColors, this.ThrowExceptionsIfAny);

            fill.Type                   = this.Type;
            fill.SolidColor             = this.SolidColor.Clone();
            fill.GradientColor          = this.GradientColor.Clone();
            fill.BlipFileName           = this.BlipFileName;
            fill.BlipRelationshipID     = this.BlipRelationshipID;
            fill.BlipTile               = this.BlipTile;
            fill.decBlipLeftOffset      = this.decBlipLeftOffset;
            fill.decBlipRightOffset     = this.decBlipRightOffset;
            fill.decBlipTopOffset       = this.decBlipTopOffset;
            fill.decBlipBottomOffset    = this.decBlipBottomOffset;
            fill.decBlipOffsetX         = this.decBlipOffsetX;
            fill.decBlipOffsetY         = this.decBlipOffsetY;
            fill.decBlipScaleX          = this.decBlipScaleX;
            fill.decBlipScaleY          = this.decBlipScaleY;
            fill.BlipAlignment          = this.BlipAlignment;
            fill.BlipMirrorType         = this.BlipMirrorType;
            fill.decBlipTransparency    = this.decBlipTransparency;
            fill.BlipDpi                = this.BlipDpi;
            fill.BlipRotateWithShape    = this.BlipRotateWithShape;
            fill.PatternPreset          = this.PatternPreset;
            fill.PatternForegroundColor = this.PatternForegroundColor.Clone();
            fill.PatternBackgroundColor = this.PatternBackgroundColor.Clone();

            return(fill);
        }
Exemple #2
0
        internal SLFill Clone()
        {
            SLFill fill = new SLFill(this.listThemeColors);
            fill.Type = this.Type;
            fill.SolidColor = this.SolidColor.Clone();
            fill.GradientColor = this.GradientColor.Clone();
            fill.BlipFileName = this.BlipFileName;
            fill.BlipRelationshipID = this.BlipRelationshipID;
            fill.BlipTile = this.BlipTile;
            fill.decBlipLeftOffset = this.decBlipLeftOffset;
            fill.decBlipRightOffset = this.decBlipRightOffset;
            fill.decBlipTopOffset = this.decBlipTopOffset;
            fill.decBlipBottomOffset = this.decBlipBottomOffset;
            fill.decBlipOffsetX = this.decBlipOffsetX;
            fill.decBlipOffsetY = this.decBlipOffsetY;
            fill.decBlipScaleX = this.decBlipScaleX;
            fill.decBlipScaleY = this.decBlipScaleY;
            fill.BlipAlignment = this.BlipAlignment;
            fill.BlipMirrorType = this.BlipMirrorType;
            fill.decBlipTransparency = this.decBlipTransparency;
            fill.BlipDpi = this.BlipDpi;
            fill.BlipRotateWithShape = this.BlipRotateWithShape;
            fill.PatternPreset = this.PatternPreset;
            fill.PatternForegroundColor = this.PatternForegroundColor.Clone();
            fill.PatternBackgroundColor = this.PatternBackgroundColor.Clone();

            return fill;
        }