Exemplo n.º 1
0
 public static RectInt2 FromPosSize(Int2 pos, Int2 size) =>
 new RectInt2
 {
     TopLeft = pos, BottomRight = pos + size
 };
Exemplo n.º 2
0
 public static RectInt2 FromSize(Int2 size) =>
 new RectInt2
 {
     BottomRight = size
 };