SFML.Net
IntRect Constructor (Vector2i, Vector2i) |
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 IntRect( Vector2i position, Vector2i size )
Public Sub New ( position As Vector2i, size As Vector2i )
public: IntRect( Vector2i position, Vector2i size )
new : position : Vector2i * size : Vector2i -> IntRect
Parameters
- position
- Type: SFML.SystemVector2i
Position of the top-left corner of the rectangle - size
- Type: SFML.SystemVector2i
Size of the rectangle
