コード例 #1
0
ファイル: SLTransform2D.cs プロジェクト: mousetwentytwo/test
        internal SLTransform2D Clone()
        {
            SLTransform2D trans = new SLTransform2D();
            trans.HasOffset = this.HasOffset;
            trans.Offset = this.Offset.Clone();
            trans.HasExtents = this.HasExtents;
            trans.Extents = this.Extents.Clone();

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

            return trans;
        }
コード例 #2
0
        internal SLTransform2D Clone()
        {
            SLTransform2D trans = new SLTransform2D();

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

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

            return(trans);
        }