public TextureCoordinateRect(TextureCoordinatePoint point, IntDimension size) { this.X = point.X; this.Y = point.Y; this.Width = size.Width; this.Height = size.Height; }
public TextureCoordinateRect Translate(TextureCoordinatePoint origin) { return(new TextureCoordinateRect(origin + Origin, Size)); }