GraphicsPathIterator.NextSubpath
Contents
[
Hide
]NextSubpath(out int, out int, out bool)
Moves the GraphicsPathIterator to the next subpath in the path. The start index and end index of the next subpath are contained in the [out] parameters.
public int NextSubpath(out int startIndex, out int endIndex, out bool isClosed)
| Parameter | Type | Description | 
|---|---|---|
| startIndex | Int32& | [out] Receives the starting index of the next subpath. | 
| endIndex | Int32& | [out] Receives the ending index of the next subpath. | 
| isClosed | Boolean& | [out] Indicates whether the subpath is closed. | 
Return Value
The number of data points in the retrieved figure (subpath). If there are no more figures to retrieve, zero is returned.
See Also
- class GraphicsPathIterator
 - namespace System.Drawing.Drawing2D
 - assembly Aspose.Drawing
 
NextSubpath(GraphicsPath, out bool)
Gets the next figure (subpath) from the associated path of this GraphicsPathIterator.
public int NextSubpath(GraphicsPath path, out bool isClosed)
| Parameter | Type | Description | 
|---|---|---|
| path | GraphicsPath | A GraphicsPath that is to have its data points set to match the data points of the retrieved figure (subpath) for this iterator. | 
| isClosed | Boolean& | [out] Indicates whether the current subpath is closed. It is true if the if the figure is closed, otherwise it is false. | 
Return Value
The number of data points in the retrieved figure (subpath). If there are no more figures to retrieve, zero is returned.
See Also
- class GraphicsPath
 - class GraphicsPathIterator
 - namespace System.Drawing.Drawing2D
 - assembly Aspose.Drawing