Пример #1
0
        public RectT Clone()
        {
            RectT rectT = new RectT();

            rectT.x      = this.x;
            rectT.y      = this.y;
            rectT.width  = this.width;
            rectT.height = this.height;
            return(rectT);
        }
Пример #2
0
 public static Rect RectTToRect(RectT rectT)
 {
     return(new Rect(rectT.x, rectT.y, rectT.width, rectT.height));
 }