コード例 #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));
 }