 | RectangleI Constructor (Int32, Int32, Vector2I) |
Constructs a new rectangle with the specified position and size.
Namespace: Slash.Math.Geometry.RectanglesAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic RectangleI(
int x,
int y,
Vector2I size
)
Public Sub New (
x As Integer,
y As Integer,
size As Vector2I
)
public:
RectangleI(
int x,
int y,
Vector2I size
)
new :
x : int *
y : int *
size : Vector2I -> RectangleI
Parameters
- x
- Type: SystemInt32
X-component of the rectangle position.
- y
- Type: SystemInt32
Y-component of the rectangle position.
- size
- Type: Slash.Math.Algebra.VectorsVector2I
Rectangle size.
See Also