Example #1
0
        internal SLLinePropertiesType Clone()
        {
            var lpt = new SLLinePropertiesType(listThemeColors);

            lpt.bUseNoLine          = bUseNoLine;
            lpt.bUseSolidLine       = bUseSolidLine;
            lpt.SolidColor          = SolidColor.Clone();
            lpt.bUseGradientLine    = bUseGradientLine;
            lpt.GradientColor       = GradientColor.Clone();
            lpt.vDashType           = vDashType;
            lpt.HasDashType         = HasDashType;
            lpt.vJoinType           = vJoinType;
            lpt.HasJoinType         = HasJoinType;
            lpt.HeadEndType         = HeadEndType;
            lpt.HeadEndSize         = HeadEndSize;
            lpt.TailEndType         = TailEndType;
            lpt.TailEndSize         = TailEndSize;
            lpt.decWidth            = decWidth;
            lpt.HasWidth            = HasWidth;
            lpt.vCapType            = vCapType;
            lpt.HasCapType          = HasCapType;
            lpt.vCompoundLineType   = vCompoundLineType;
            lpt.HasCompoundLineType = HasCompoundLineType;
            lpt.Alignment           = Alignment;

            return(lpt);
        }
        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);
        }