Share via


PathF.GetSegmentForPoint(Int32) Method

Definition

Determines which segment uses the point at a specified index.

public:
 int GetSegmentForPoint(int pointIndex);
public int GetSegmentForPoint(int pointIndex);
member this.GetSegmentForPoint : int -> int
Public Function GetSegmentForPoint (pointIndex As Integer) As Integer

Parameters

pointIndex
Int32

Point index.

Returns

The segment index, or -1 if not found.

Applies to