GraphicsPathIterator.NextPathType

GraphicsPathIterator.NextPathType method

Gets the starting index and the ending index of the next group of data points that all have the same type.

public int NextPathType(out byte pathType, out int startIndex, out int endIndex)
ParameterTypeDescription
pathTypeByte&[out] Receives the point type shared by all points in the group. Possible types can be retrieved from the PathPointType enumeration.
startIndexInt32&[out] Receives the starting index of the group of points.
endIndexInt32&[out] Receives the ending index of the group of points.

Return Value

This method returns the number of data points in the group. If there are no more groups in the path, this method returns 0.

See Also