RectangleShape Constructor (Vector2f)

SFML.Net

RectangleShape Constructor (Vector2f)
Construct the shape with an initial size

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public RectangleShape(
	Vector2f size
)
Public Sub New ( 
	size As Vector2f
)
public:
RectangleShape(
	Vector2f size
)
new : 
        size : Vector2f -> RectangleShape

Parameters

size
Type: SFML.SystemVector2f
Size of the shape
See Also