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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

pts
Type: System.Drawing.PointF[]

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

types
Type: System.Byte[]

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

fillMode
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
Show: