Lire en anglais

Partager via


GraphicsPath Constructeurs

Définition

Initialise une nouvelle instance de la classe GraphicsPath avec une énumération FillMode de Alternate.

Surcharges

GraphicsPath()

Initialise une nouvelle instance de la classe GraphicsPath avec une valeur FillMode de Alternate.

GraphicsPath(FillMode)

Initialise une nouvelle instance de la classe GraphicsPath avec l'énumération FillMode spécifiée.

GraphicsPath(Point[], Byte[])

Initialise une nouvelle instance de la classe GraphicsPath avec les tableaux PathPointType et Point spécifiés.

GraphicsPath(PointF[], Byte[])

Initialise une nouvelle instance du tableau GraphicsPath avec les tableaux PathPointType et PointF spécifiés.

GraphicsPath(Point[], Byte[], FillMode)

Initialise une nouvelle instance de la classe GraphicsPath avec les tableaux PathPointType et Point et l'élément de l'énumération FillMode spécifiés.

GraphicsPath(PointF[], Byte[], FillMode)

Initialise une nouvelle instance du tableau GraphicsPath avec les tableaux PathPointType et PointF et l'élément de l'énumération FillMode spécifiés.

GraphicsPath(ReadOnlySpan<Point>, ReadOnlySpan<Byte>, FillMode)
GraphicsPath(ReadOnlySpan<PointF>, ReadOnlySpan<Byte>, FillMode)

GraphicsPath()

Source:
GraphicsPath.cs
Source:
GraphicsPath.cs
Source:
GraphicsPath.cs

Initialise une nouvelle instance de la classe GraphicsPath avec une valeur FillMode de Alternate.

C#
public GraphicsPath ();

S’applique à

.NET Framework 4.8.1 et autres versions
Produit Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

GraphicsPath(FillMode)

Source:
GraphicsPath.cs
Source:
GraphicsPath.cs
Source:
GraphicsPath.cs

Initialise une nouvelle instance de la classe GraphicsPath avec l'énumération FillMode spécifiée.

C#
public GraphicsPath (System.Drawing.Drawing2D.FillMode fillMode);

Paramètres

fillMode
FillMode

Énumération FillMode qui définit le mode de remplissage de l'intérieur de ce GraphicsPath.

S’applique à

.NET Framework 4.8.1 et autres versions
Produit Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

GraphicsPath(Point[], Byte[])

Source:
GraphicsPath.cs
Source:
GraphicsPath.cs
Source:
GraphicsPath.cs

Initialise une nouvelle instance de la classe GraphicsPath avec les tableaux PathPointType et Point spécifiés.

C#
public GraphicsPath (System.Drawing.Point[] pts, byte[] types);

Paramètres

pts
Point[]

Tableau de structures Point qui définit les coordonnées des points composant ce GraphicsPath.

types
Byte[]

Tableau des éléments de l'énumération PathPointType qui spécifie le type de chaque point correspondant du tableau pts.

S’applique à

.NET Framework 4.8.1 et autres versions
Produit Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

GraphicsPath(PointF[], Byte[])

Source:
GraphicsPath.cs
Source:
GraphicsPath.cs
Source:
GraphicsPath.cs

Initialise une nouvelle instance du tableau GraphicsPath avec les tableaux PathPointType et PointF spécifiés.

C#
public GraphicsPath (System.Drawing.PointF[] pts, byte[] types);

Paramètres

pts
PointF[]

Tableau de structures PointF qui définit les coordonnées des points composant ce GraphicsPath.

types
Byte[]

Tableau des éléments de l'énumération PathPointType qui spécifie le type de chaque point correspondant du tableau pts.

S’applique à

.NET Framework 4.8.1 et autres versions
Produit Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

GraphicsPath(Point[], Byte[], FillMode)

Source:
GraphicsPath.cs
Source:
GraphicsPath.cs
Source:
GraphicsPath.cs

Initialise une nouvelle instance de la classe GraphicsPath avec les tableaux PathPointType et Point et l'élément de l'énumération FillMode spécifiés.

C#
public GraphicsPath (System.Drawing.Point[] pts, byte[] types, System.Drawing.Drawing2D.FillMode fillMode);

Paramètres

pts
Point[]

Tableau de structures Point qui définit les coordonnées des points composant ce GraphicsPath.

types
Byte[]

Tableau des éléments de l'énumération PathPointType qui spécifie le type de chaque point correspondant du tableau pts.

fillMode
FillMode

Énumération FillMode qui spécifie le mode de remplissage de l'intérieur des formes contenues dans ce GraphicsPath.

S’applique à

.NET Framework 4.8.1 et autres versions
Produit Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

GraphicsPath(PointF[], Byte[], FillMode)

Source:
GraphicsPath.cs
Source:
GraphicsPath.cs
Source:
GraphicsPath.cs

Initialise une nouvelle instance du tableau GraphicsPath avec les tableaux PathPointType et PointF et l'élément de l'énumération FillMode spécifiés.

C#
public GraphicsPath (System.Drawing.PointF[] pts, byte[] types, System.Drawing.Drawing2D.FillMode fillMode);

Paramètres

pts
PointF[]

Tableau de structures PointF qui définit les coordonnées des points composant ce GraphicsPath.

types
Byte[]

Tableau des éléments de l'énumération PathPointType qui spécifie le type de chaque point correspondant du tableau pts.

fillMode
FillMode

Énumération FillMode qui spécifie le mode de remplissage de l'intérieur des formes contenues dans ce GraphicsPath.

S’applique à

.NET Framework 4.8.1 et autres versions
Produit Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

GraphicsPath(ReadOnlySpan<Point>, ReadOnlySpan<Byte>, FillMode)

Source:
GraphicsPath.cs
C#
public GraphicsPath (ReadOnlySpan<System.Drawing.Point> pts, ReadOnlySpan<byte> types, System.Drawing.Drawing2D.FillMode fillMode = System.Drawing.Drawing2D.FillMode.Alternate);

Paramètres

fillMode
FillMode

S’applique à

Windows Desktop 9
Produit Versions
Windows Desktop 9

GraphicsPath(ReadOnlySpan<PointF>, ReadOnlySpan<Byte>, FillMode)

Source:
GraphicsPath.cs
C#
public GraphicsPath (ReadOnlySpan<System.Drawing.PointF> pts, ReadOnlySpan<byte> types, System.Drawing.Drawing2D.FillMode fillMode = System.Drawing.Drawing2D.FillMode.Alternate);

Paramètres

fillMode
FillMode

S’applique à

Windows Desktop 9
Produit Versions
Windows Desktop 9