Shape.GetPoint Method

SFML.Net

ShapeGetPoint Method
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.

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public abstract Vector2f GetPoint(
	uint index
)
Public MustOverride Function GetPoint ( 
	index As UInteger
) As Vector2f
public:
virtual Vector2f GetPoint(
	unsigned int index
) abstract
abstract GetPoint : 
        index : uint32 -> Vector2f 

Parameters

index
Type: SystemUInt32
Index of the point to get, in range [0 .. PointCount - 1]

Return Value

Type: Vector2f
index-th point of the shape
See Also