Beispiel #1
0
        internal SLTransform2D Clone()
        {
            var trans = new SLTransform2D();

            trans.HasOffset  = HasOffset;
            trans.Offset     = Offset.Clone();
            trans.HasExtents = HasExtents;
            trans.Extents    = Extents.Clone();

            trans.Rotation       = Rotation;
            trans.HorizontalFlip = HorizontalFlip;
            trans.VerticalFlip   = VerticalFlip;

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