Path Iterator Class
Provides the ability to iterate through subpaths in a GraphicsPath and test the types of shapes contained in each subpath. This class cannot be inherited.
public ref class GraphicsPathIterator sealed : MarshalByRefObject, IDisposable
public sealed class GraphicsPathIterator : MarshalByRefObject, IDisposable
type GraphicsPathIterator = class inherit MarshalByRefObject interface IDisposable
Public NotInheritable Class GraphicsPathIterator Inherits MarshalByRefObject Implements IDisposable
Gets the number of points in the path.
Gets the number of subpaths in the path.
|CopyData(PointF, Byte, Int32, Int32)|
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject)
Releases all resources used by this GraphicsPathIterator object.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
Serves as the default hash function.(Inherited from Object)
Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject)
Gets the Type of the current instance.(Inherited from Object)
Indicates whether the path associated with this GraphicsPathIterator contains a curve.
Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject)
Creates a shallow copy of the current Object.(Inherited from Object)
Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject)
This GraphicsPathIterator object has a GraphicsPath object associated with it. The NextMarker(GraphicsPath) 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.
Increments the GraphicsPathIterator to the next marker in the path and returns the start and stop indexes by way of the [out] parameters.
|NextPathType(Byte, Int32, Int32)||
Gets the starting index and the ending index of the next group of data points that all have the same type.
Gets the next figure (subpath) from the associated path of this GraphicsPathIterator.
|NextSubpath(Int32, Int32, Boolean)||
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.
Rewinds this GraphicsPathIterator to the beginning of its associated path.
Returns a string that represents the current object.(Inherited from Object)