Method GetSegmentIndexFromStartPointIndex
GetSegmentIndexFromStartPointIndex(Int32)
Converts from a point index to a segment index that uses the given point as a start point. If the point is not a start point then a value equivalent to -1 value is returned.
Declaration
public int GetSegmentIndexFromStartPointIndex(int pointIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | pointIndex | Zero-based index of the point. |
Returns
| Type | Description |
|---|---|
| System.Int32 | The segment index containing the start point. If point is not a start point, then -1 is returned. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |