This documentation is archived and is not being maintained.

GraphicsPath Constructor

.NET Framework 1.1

Initializes a new instance of the GraphicsPath class with a FillMode enumeration of Alternate.

Overload List

Initializes a new instance of the GraphicsPath class with a FillMode enumeration of Alternate.

[Visual Basic] Public Sub New()
[C#] public GraphicsPath();
[C++] public: GraphicsPath();
[JScript] public function GraphicsPath();

Initializes a new instance of the GraphicsPath class with the specified FillMode enumeration.

[Visual Basic] Public Sub New(FillMode)
[C#] public GraphicsPath(FillMode);
[C++] public: GraphicsPath(FillMode);
[JScript] public function GraphicsPath(FillMode);

Initializes a new instance of the GraphicsPath class with the specified PathPointType and Point arrays.

[Visual Basic] Public Sub New(Point(), Byte())
[C#] public GraphicsPath(Point[], byte[]);
[C++] public: GraphicsPath(Point[], unsigned char __gc[]);
[JScript] public function GraphicsPath(Point[], Byte[]);

Initializes a new instance of the GraphicsPath array with the specified PathPointType and PointF arrays.

[Visual Basic] Public Sub New(PointF(), Byte())
[C#] public GraphicsPath(PointF[], byte[]);
[C++] public: GraphicsPath(PointF[], unsigned char __gc[]);
[JScript] public function GraphicsPath(PointF[], Byte[]);

Initializes a new instance of the GraphicsPath class with the specified PathPointType and Point arrays and with the specified FillMode enumeration element.

[Visual Basic] Public Sub New(Point(), Byte(), FillMode)
[C#] public GraphicsPath(Point[], byte[], FillMode);
[C++] public: GraphicsPath(Point[], unsigned char __gc[], FillMode);
[JScript] public function GraphicsPath(Point[], Byte[], FillMode);

Initializes a new instance of the GraphicsPath array with the specified PathPointType and PointF arrays and with the specified FillMode enumeration element.

[Visual Basic] Public Sub New(PointF(), Byte(), FillMode)
[C#] public GraphicsPath(PointF[], byte[], FillMode);
[C++] public: GraphicsPath(PointF[], unsigned char __gc[], FillMode);
[JScript] public function GraphicsPath(PointF[], Byte[], FillMode);

See Also

GraphicsPath Class | GraphicsPath Members | System.Drawing.Drawing2D Namespace

Show: