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