コード例 #1
0
        internal SLLinePropertiesType Clone()
        {
            SLLinePropertiesType lpt = new SLLinePropertiesType(this.listThemeColors);

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

            return(lpt);
        }
コード例 #2
0
        internal SLLinePropertiesType Clone()
        {
            SLLinePropertiesType lpt = new SLLinePropertiesType(this.listThemeColors);
            lpt.bUseNoLine = this.bUseNoLine;
            lpt.bUseSolidLine = this.bUseSolidLine;
            lpt.SolidColor = this.SolidColor.Clone();
            lpt.bUseGradientLine = this.bUseGradientLine;
            lpt.GradientColor = this.GradientColor.Clone();
            lpt.vDashType = this.vDashType;
            lpt.HasDashType = this.HasDashType;
            lpt.vJoinType = this.vJoinType;
            lpt.HasJoinType = this.HasJoinType;
            lpt.HeadEndType = this.HeadEndType;
            lpt.HeadEndSize = this.HeadEndSize;
            lpt.TailEndType = this.TailEndType;
            lpt.TailEndSize = this.TailEndSize;
            lpt.decWidth = this.decWidth;
            lpt.HasWidth = this.HasWidth;
            lpt.vCapType = this.vCapType;
            lpt.HasCapType = this.HasCapType;
            lpt.vCompoundLineType = this.vCompoundLineType;
            lpt.HasCompoundLineType = this.HasCompoundLineType;
            lpt.Alignment = this.Alignment;

            return lpt;
        }