편집

다음을 통해 공유


GraphicsPath Constructors

Definition

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

Overloads

GraphicsPath()

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

GraphicsPath(FillMode)

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

GraphicsPath(Point[], Byte[])

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

GraphicsPath(PointF[], Byte[])

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

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

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

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

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

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

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

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

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

GraphicsPath()

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

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

public:
 GraphicsPath();
public GraphicsPath ();
Public Sub New ()

Applies to

GraphicsPath(FillMode)

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

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

public:
 GraphicsPath(System::Drawing::Drawing2D::FillMode fillMode);
public GraphicsPath (System.Drawing.Drawing2D.FillMode fillMode);
new System.Drawing.Drawing2D.GraphicsPath : System.Drawing.Drawing2D.FillMode -> System.Drawing.Drawing2D.GraphicsPath
Public Sub New (fillMode As FillMode)

Parameters

fillMode
FillMode

The FillMode enumeration that determines how the interior of this GraphicsPath is filled.

Applies to

GraphicsPath(Point[], Byte[])

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

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

public:
 GraphicsPath(cli::array <System::Drawing::Point> ^ pts, cli::array <System::Byte> ^ types);
public GraphicsPath (System.Drawing.Point[] pts, byte[] types);
new System.Drawing.Drawing2D.GraphicsPath : System.Drawing.Point[] * byte[] -> System.Drawing.Drawing2D.GraphicsPath
Public Sub New (pts As Point(), types As Byte())

Parameters

pts
Point[]

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

types
Byte[]

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

Applies to

GraphicsPath(PointF[], Byte[])

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

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

public:
 GraphicsPath(cli::array <System::Drawing::PointF> ^ pts, cli::array <System::Byte> ^ types);
public GraphicsPath (System.Drawing.PointF[] pts, byte[] types);
new System.Drawing.Drawing2D.GraphicsPath : System.Drawing.PointF[] * byte[] -> System.Drawing.Drawing2D.GraphicsPath
Public Sub New (pts As PointF(), types As Byte())

Parameters

pts
PointF[]

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

types
Byte[]

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

Applies to

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

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

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

public:
 GraphicsPath(cli::array <System::Drawing::Point> ^ pts, cli::array <System::Byte> ^ types, System::Drawing::Drawing2D::FillMode fillMode);
public GraphicsPath (System.Drawing.Point[] pts, byte[] types, System.Drawing.Drawing2D.FillMode fillMode);
new System.Drawing.Drawing2D.GraphicsPath : System.Drawing.Point[] * byte[] * System.Drawing.Drawing2D.FillMode -> System.Drawing.Drawing2D.GraphicsPath
Public Sub New (pts As Point(), types As Byte(), fillMode As FillMode)

Parameters

pts
Point[]

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

types
Byte[]

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

fillMode
FillMode

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

Applies to

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

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

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

public:
 GraphicsPath(cli::array <System::Drawing::PointF> ^ pts, cli::array <System::Byte> ^ types, System::Drawing::Drawing2D::FillMode fillMode);
public GraphicsPath (System.Drawing.PointF[] pts, byte[] types, System.Drawing.Drawing2D.FillMode fillMode);
new System.Drawing.Drawing2D.GraphicsPath : System.Drawing.PointF[] * byte[] * System.Drawing.Drawing2D.FillMode -> System.Drawing.Drawing2D.GraphicsPath
Public Sub New (pts As PointF(), types As Byte(), fillMode As FillMode)

Parameters

pts
PointF[]

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

types
Byte[]

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

fillMode
FillMode

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

Applies to

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

Source:
GraphicsPath.cs
Source:
GraphicsPath.cs

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

public GraphicsPath (ReadOnlySpan<System.Drawing.Point> pts, ReadOnlySpan<byte> types, System.Drawing.Drawing2D.FillMode fillMode = System.Drawing.Drawing2D.FillMode.Alternate);
new System.Drawing.Drawing2D.GraphicsPath : ReadOnlySpan<System.Drawing.Point> * ReadOnlySpan<byte> * System.Drawing.Drawing2D.FillMode -> System.Drawing.Drawing2D.GraphicsPath
Public Sub New (pts As ReadOnlySpan(Of Point), types As ReadOnlySpan(Of Byte), Optional fillMode As FillMode = System.Drawing.Drawing2D.FillMode.Alternate)

Parameters

pts
ReadOnlySpan<Point>

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

types
ReadOnlySpan<Byte>

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

fillMode
FillMode

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

Applies to

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

Source:
GraphicsPath.cs
Source:
GraphicsPath.cs

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

public GraphicsPath (ReadOnlySpan<System.Drawing.PointF> pts, ReadOnlySpan<byte> types, System.Drawing.Drawing2D.FillMode fillMode = System.Drawing.Drawing2D.FillMode.Alternate);
new System.Drawing.Drawing2D.GraphicsPath : ReadOnlySpan<System.Drawing.PointF> * ReadOnlySpan<byte> * System.Drawing.Drawing2D.FillMode -> System.Drawing.Drawing2D.GraphicsPath
Public Sub New (pts As ReadOnlySpan(Of PointF), types As ReadOnlySpan(Of Byte), Optional fillMode As FillMode = System.Drawing.Drawing2D.FillMode.Alternate)

Parameters

pts
ReadOnlySpan<PointF>

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

types
ReadOnlySpan<Byte>

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

fillMode
FillMode

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

Applies to