Method | Description | |
---|---|---|
GetPoint ( uint index ) : Vector2f |
Get the position of a point The returned point is in local coordinates, that is, the shape's transforms (position, rotation, scale) are not taken into account. The result is undefined if index is out of the valid range.
|
|
GetPointCount ( ) : uint |
Get the total number of points of the rectangle.
|
|
RectangleShape ( ) : SFML.System |
Default constructor
|
|
RectangleShape ( |
Construct the shape from another shape
|
|
RectangleShape ( Vector2f size ) : SFML.System |
Construct the shape with an initial size
|
public GetPoint ( uint index ) : Vector2f | ||
index | uint | Index of the point to get, in range [0 .. 3] |
return | Vector2f |
public RectangleShape ( |
||
copy | Shape to copy | |
return | SFML.System |
public RectangleShape ( Vector2f size ) : SFML.System | ||
size | Vector2f | Size of the shape |
return | SFML.System |