## GraphicsPathIterator class

Fournit la possibilité de parcourir les sous-chemins dans unGraphicsPath et testez les types de formes contenues dans chaque sous-chemin. Cette classe ne peut pas être héritée.

```csharp
public sealed class GraphicsPathIterator : IDisposable
```

## Constructeurs

| Nom | La description |
| --- | --- |
| [GraphicsPathIterator](graphicspathiterator)(GraphicsPath) | Initialise une nouvelle instance du[`GraphicsPathIterator`](../graphicspathiterator) classe. |

## Propriétés

| Nom | La description |
| --- | --- |
| [Count](../../system.drawing.drawing2d/graphicspathiterator/count) { get; } | Obtient le nombre de points dans le chemin. |
| [SubpathCount](../../system.drawing.drawing2d/graphicspathiterator/subpathcount) { get; } | Obtient le nombre de sous-chemins dans le chemin. |

## Méthodes

| Nom | La description |
| --- | --- |
| [CopyData](../../system.drawing.drawing2d/graphicspathiterator/copydata)(ref PointF[], ref byte[], int, int) | Copie la propriété GraphicsPath.PathPoints et la propriété GraphicsPath.PathTypes arrays du[`GraphicsPath`](../graphicspath) dans les deux tableaux spécifiés. |
| [Dispose](../../system.drawing.drawing2d/graphicspathiterator/dispose)() | Effectue des tâches définies par l'application associées à la libération, à la libération ou à la réinitialisation des ressources non gérées. |
| [Enumerate](../../system.drawing.drawing2d/graphicspathiterator/enumerate)(ref PointF[], ref byte[]) | Copie la propriété GraphicsPath.PathPoints et la propriété GraphicsPath.PathTypes arrays du[`GraphicsPath`](../graphicspath) dans les deux tableaux spécifiés. |
| [HasCurve](../../system.drawing.drawing2d/graphicspathiterator/hascurve)() | Indique si le chemin associé à ce[`GraphicsPathIterator`](../graphicspathiterator) contient une courbe. |
| [NextMarker](../../system.drawing.drawing2d/graphicspathiterator/nextmarker#nextmarker_1)(GraphicsPath) | Ceci[`GraphicsPathIterator`](../graphicspathiterator) l'objet a un[`GraphicsPath`](../graphicspath) objet qui lui est associé. Cette méthode incrémente l'objet associé[`GraphicsPath`](../graphicspath) au marqueur suivant dans son chemin et copie tous les points contenus entre le marqueur courant et le marqueur suivant (ou fin de chemin) dans un second[`GraphicsPath`](../graphicspath) objet passé au paramètre. |
| [NextMarker](../../system.drawing.drawing2d/graphicspathiterator/nextmarker#nextmarker)(out int, out int) | Incrémente le[`GraphicsPathIterator`](../graphicspathiterator)au marqueur suivant dans le chemin et renvoie les index de début et de fin au moyen des paramètres [out]. |
| [NextPathType](../../system.drawing.drawing2d/graphicspathiterator/nextpathtype)(out byte, out int, out int) | Obtient l'index de départ et l'index de fin du prochain groupe de points de données qui ont tous le même type. |
| [NextSubpath](../../system.drawing.drawing2d/graphicspathiterator/nextsubpath#nextsubpath_1)(GraphicsPath, out bool) | Obtient le chiffre suivant (sous-chemin) à partir du chemin associé de ce[`GraphicsPathIterator`](../graphicspathiterator) . |
| [NextSubpath](../../system.drawing.drawing2d/graphicspathiterator/nextsubpath#nextsubpath)(out int, out int, out bool) | Déplace le[`GraphicsPathIterator`](../graphicspathiterator) au sous-chemin suivant dans le chemin. L'index de début et l'index de fin du sous-chemin suivant sont contenus dans les paramètres [out]. |
| [Rewind](../../system.drawing.drawing2d/graphicspathiterator/rewind)() | rembobine ceci[`GraphicsPathIterator`](../graphicspathiterator) au début de son chemin associé. |

### Voir également

* espace de noms [System.Drawing.Drawing2D](../../system.drawing.drawing2d)
* Assemblée [Aspose.Drawing](../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Drawing.dll -->
