System.Drawing.Drawing2D.GraphicsPathIterator.Rewind Method

Rewinds this System.Drawing.Drawing2D.GraphicsPathIterator to the beginning of its associated path.

Syntax

public void Rewind ()

Remarks

The first time you call the GraphicsPathIterator.NextSubpath(GraphicsPath, Boolean@) method of an iterator, it gets the first figure (subpath) of that iterator's associated path. The second time, it gets the second figure, and so on. When you call the GraphicsPathIterator.Rewind method, the sequence starts over; that is, after you call GraphicsPathIterator.Rewind, the next call to GraphicsPathIterator.NextSubpath(GraphicsPath, Boolean@) gets the first figure in the path. The erload:System.Drawing.Drawing2D.GraphicsPathIterator.NextMarker and GraphicsPathIterator.NextPathType(Byte@, Int32@, Int32@) methods behave similarly.

Requirements

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