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