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


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Drawing.Drawing2D
Assembly:  System.Drawing (in System.Drawing.dll)

public GraphicsPath(
	PointF[] pts,
	byte[] types,
	FillMode fillMode


Type: System.Drawing.PointF[]

An array of PointF structures that defines the coordinates of the points that make up this GraphicsPath.

Type: System.Byte[]

An array of PathPointType enumeration elements that specifies the type of each corresponding point in the pts array.

Type: System.Drawing.Drawing2D.FillMode

A FillMode enumeration that specifies how the interiors of shapes in this GraphicsPath are filled.

.NET Framework
Available since 1.1
Return to top