internal SLFill Clone() { var fill = new SLFill(listThemeColors); fill.Type = Type; fill.SolidColor = SolidColor.Clone(); fill.GradientColor = GradientColor.Clone(); fill.BlipFileName = BlipFileName; fill.BlipRelationshipID = BlipRelationshipID; fill.BlipTile = BlipTile; fill.decBlipLeftOffset = decBlipLeftOffset; fill.decBlipRightOffset = decBlipRightOffset; fill.decBlipTopOffset = decBlipTopOffset; fill.decBlipBottomOffset = decBlipBottomOffset; fill.decBlipOffsetX = decBlipOffsetX; fill.decBlipOffsetY = decBlipOffsetY; fill.decBlipScaleX = decBlipScaleX; fill.decBlipScaleY = decBlipScaleY; fill.BlipAlignment = BlipAlignment; fill.BlipMirrorType = BlipMirrorType; fill.decBlipTransparency = decBlipTransparency; fill.BlipDpi = BlipDpi; fill.BlipRotateWithShape = BlipRotateWithShape; fill.PatternPreset = PatternPreset; fill.PatternForegroundColor = PatternForegroundColor.Clone(); fill.PatternBackgroundColor = PatternBackgroundColor.Clone(); return(fill); }
private void SetAllNull() { vBlackWhiteMode = A.BlackWhiteModeValues.Auto; HasBlackWhiteMode = false; Transform2D = new SLTransform2D(); HasTransform2D = false; vPresetGeometry = A.ShapeTypeValues.Rectangle; HasPresetGeometry = false; Fill = new SLFill(listThemeColors); Outline = new SLLinePropertiesType(listThemeColors); EffectList = new SLEffectList(listThemeColors); Rotation3D = new SLRotation3D(); Format3D = new SLFormat3D(listThemeColors); }