 | RectangleF Constructor (Vector2F, Single, Single) |
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 RectangleF(
Vector2F position,
float width,
float height
)
Public Sub New (
position As Vector2F,
width As Single,
height As Single
)
public:
RectangleF(
Vector2F position,
float width,
float height
)
new :
position : Vector2F *
width : float32 *
height : float32 -> RectangleF
Parameters
- position
- Type: Slash.Math.Algebra.VectorsVector2F
Rectangle position.
- width
- Type: SystemSingle
Rectangle width.
- height
- Type: SystemSingle
Rectangle height.
See Also