| RectangleF Constructor (Single, Single, Vector2F) |
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
Syntax public RectangleF(
float x,
float y,
Vector2F size
)
Public Sub New (
x As Single,
y As Single,
size As Vector2F
)
public:
RectangleF(
float x,
float y,
Vector2F size
)
new :
x : float32 *
y : float32 *
size : Vector2F -> RectangleF
Parameters
- x
- Type: SystemSingle
X-component of the rectangle position.
- y
- Type: SystemSingle
Y-component of the rectangle position.
- size
- Type: Slash.Math.Algebra.VectorsVector2F
Rectangle size.
See Also