GraphicsPathIterator.NextMarker

NextMarker(out int, out int)

Increments the GraphicsPathIterator to the next marker in the path and returns the start and stop indexes by way of the [out] parameters.

public int NextMarker(out int startIndex, out int endIndex)
ParameterTypeDescription
startIndexInt32&[out] The integer reference supplied to this parameter receives the index of the point that starts a subpath.
endIndexInt32&[out] The integer reference supplied to this parameter receives the index of the point that ends the subpath to which startIndex points.

Return Value

The number of points between this marker and the next.

See Also


NextMarker(GraphicsPath)

This GraphicsPathIterator object has a GraphicsPath object associated with it. This method increments the associated GraphicsPath to the next marker in its path and copies all the points contained between the current marker and the next marker (or end of path) to a second GraphicsPath object passed in to the parameter.

public int NextMarker(GraphicsPath path)
ParameterTypeDescription
pathGraphicsPathThe GraphicsPath object to which the points will be copied.

Return Value

The number of points between this marker and the next.

See Also