 | RectangleI Constructor (Vector2I, 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(
Vector2I position,
Vector2I size
)
Public Sub New (
position As Vector2I,
size As Vector2I
)
public:
RectangleI(
Vector2I position,
Vector2I size
)
new :
position : Vector2I *
size : Vector2I -> RectangleI
Parameters
- position
- Type: Slash.Math.Algebra.VectorsVector2I
Rectangle position.
- size
- Type: Slash.Math.Algebra.VectorsVector2I
Rectangle size.
See Also