System.Drawing.Drawing2D.GraphicsPathIterator.NextMarker Method

This System.Drawing.Drawing2D.GraphicsPathIterator object has a System.Drawing.Drawing2D.GraphicsPath object associated with it. The GraphicsPathIterator.NextMarker(GraphicsPath) method increments the associated System.Drawing.Drawing2D.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 System.Drawing.Drawing2D.GraphicsPath object passed in to the parameter.

Syntax

public int NextMarker (GraphicsPath path)

Parameters

path
The System.Drawing.Drawing2D.GraphicsPath object to which the points will be copied.

Returns

The number of points between this marker and the next.

Remarks

Use the GraphicsPath.SetMarkers method to set markers in a path. Markers are used to create groups of subpaths. One or more subpaths can be between two markers.

Requirements

Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0