コード例 #1
0
 public RectangleInt(int x, int y, Size size)
 {
     this.x = x;
     this.y = y;
     this.width = size.Width;
     this.height = size.Height;
 }
コード例 #2
0
ファイル: Rectangle.cs プロジェクト: plaurin/MonoGameEngine2D
 public Rectangle(float x, float y, Size size)
 {
     this.x = x;
     this.y = y;
     this.width = size.Width;
     this.height = size.Height;
 }