コード例 #1
0
 public TextureCoordinateRect(TextureCoordinatePoint point, IntDimension size)
 {
     this.X      = point.X;
     this.Y      = point.Y;
     this.Width  = size.Width;
     this.Height = size.Height;
 }
コード例 #2
0
 public TextureCoordinateRect Translate(TextureCoordinatePoint origin)
 {
     return(new TextureCoordinateRect(origin + Origin, Size));
 }