示例#1
0
        internal SLFormat3D Clone()
        {
            SLFormat3D format = new SLFormat3D(this.listThemeColors);

            format.bHasBevelTop         = this.bHasBevelTop;
            format.vBevelTopPreset      = this.vBevelTopPreset;
            format.decBevelTopWidth     = this.decBevelTopWidth;
            format.decBevelTopHeight    = this.decBevelTopHeight;
            format.bHasBevelBottom      = this.bHasBevelBottom;
            format.vBevelBottomPreset   = this.vBevelBottomPreset;
            format.decBevelBottomWidth  = this.decBevelBottomWidth;
            format.decBevelBottomHeight = this.decBevelBottomHeight;
            format.HasExtrusionColor    = this.HasExtrusionColor;
            format.clrExtrusionColor    = this.clrExtrusionColor.Clone();
            format.decExtrusionHeight   = this.decExtrusionHeight;
            format.HasContourColor      = this.HasContourColor;
            format.clrContourColor      = this.clrContourColor.Clone();
            format.decContourWidth      = this.decContourWidth;
            format.Material             = this.Material;
            format.bHasLighting         = this.bHasLighting;
            format.vLighting            = this.vLighting;
            format.decAngle             = this.decAngle;

            return(format);
        }
示例#2
0
        private void SetAllNull()
        {
            this.Transform2D = new SLTransform2D();
            this.HasTransform2D = false;
            this.vPresetGeometry = A.ShapeTypeValues.Rectangle;
            this.HasGeometry = false;

            this.Fill = new SLFill(this.listThemeColors);
            this.Outline = new SLLinePropertiesType(this.listThemeColors);
            this.EffectList = new SLEffectList(this.listThemeColors);

            this.Rotation3D = new SLRotation3D();
            this.Format3D = new SLFormat3D(this.listThemeColors);
        }
示例#3
0
        private void SetAllNull()
        {
            this.vBlackWhiteMode   = A.BlackWhiteModeValues.Auto;
            this.HasBlackWhiteMode = false;

            this.Transform2D       = new SLTransform2D();
            this.HasTransform2D    = false;
            this.vPresetGeometry   = A.ShapeTypeValues.Rectangle;
            this.HasPresetGeometry = false;

            this.Fill       = new SLFill(this.listThemeColors);
            this.Outline    = new SLLinePropertiesType(this.listThemeColors);
            this.EffectList = new SLEffectList(this.listThemeColors);

            this.Rotation3D = new SLRotation3D();
            this.Format3D   = new SLFormat3D(this.listThemeColors);
        }
示例#4
0
        internal SLFormat3D Clone()
        {
            SLFormat3D format = new SLFormat3D(this.listThemeColors);
            format.bHasBevelTop = this.bHasBevelTop;
            format.vBevelTopPreset = this.vBevelTopPreset;
            format.decBevelTopWidth = this.decBevelTopWidth;
            format.decBevelTopHeight = this.decBevelTopHeight;
            format.bHasBevelBottom = this.bHasBevelBottom;
            format.vBevelBottomPreset = this.vBevelBottomPreset;
            format.decBevelBottomWidth = this.decBevelBottomWidth;
            format.decBevelBottomHeight = this.decBevelBottomHeight;
            format.HasExtrusionColor = this.HasExtrusionColor;
            format.clrExtrusionColor = this.clrExtrusionColor.Clone();
            format.decExtrusionHeight = this.decExtrusionHeight;
            format.HasContourColor = this.HasContourColor;
            format.clrContourColor = this.clrContourColor.Clone();
            format.decContourWidth = this.decContourWidth;
            format.Material = this.Material;
            format.bHasLighting = this.bHasLighting;
            format.vLighting = this.vLighting;
            format.decAngle = this.decAngle;

            return format;
        }