PathF.GetSegmentForPoint(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.