SFML.Net
FloatRect Constructor (Vector2f, Vector2f) |
Construct the rectangle from position and size
Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)

public FloatRect( Vector2f position, Vector2f size )
Public Sub New ( position As Vector2f, size As Vector2f )
public: FloatRect( Vector2f position, Vector2f size )
new : position : Vector2f * size : Vector2f -> FloatRect
Parameters
- position
- Type: SFML.SystemVector2f
Position of the top-left corner of the rectangle - size
- Type: SFML.SystemVector2f
Size of the rectangle
