RectangleShape.getPoint

Get a point of the rectangle.

The result is undefined if index is out of the valid range.

class RectangleShape
override const
getPoint
(
uint index
)

Parameters

index uint

Index of the point to get, in range [0 .. pointCount - 1]

Return Value

Type: Vector2f

Index-th point of the shape.

Meta