GraphicsPath 建構函式

定義

使用 AlternateGraphicsPath 列舉型別,初始化 FillMode 類別的新執行個體。

多載

GraphicsPath()

使用 GraphicsPathFillMode 值,初始化 Alternate 類別的新執行個體。

GraphicsPath(FillMode)

使用指定的 GraphicsPath 列舉型別,初始化 FillMode 類別的新執行個體。

GraphicsPath(Point[], Byte[])

使用指定的 GraphicsPathPathPointType 陣列,初始化 Point 類別的新執行個體。

GraphicsPath(PointF[], Byte[])

使用指定的 GraphicsPathPathPointType 陣列,初始化 PointF 陣列的新執行個體。

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

使用指定的 GraphicsPathPathPointType 陣列以及指定的 Point 列舉型別項目,初始化 FillMode 類別的新執行個體。

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

使用指定的 GraphicsPathPathPointType 陣列以及指定的 PointF 列舉型別項目,初始化 FillMode 陣列的新執行個體。

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

GraphicsPath()

來源:
GraphicsPath.cs
來源:
GraphicsPath.cs
來源:
GraphicsPath.cs

使用 GraphicsPathFillMode 值,初始化 Alternate 類別的新執行個體。

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

適用於

GraphicsPath(FillMode)

來源:
GraphicsPath.cs
來源:
GraphicsPath.cs
來源:
GraphicsPath.cs

使用指定的 GraphicsPath 列舉型別,初始化 FillMode 類別的新執行個體。

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)

參數

fillMode
FillMode

FillMode 列舉型別,決定如何填滿這個 GraphicsPath 的內部。

適用於

GraphicsPath(Point[], Byte[])

來源:
GraphicsPath.cs
來源:
GraphicsPath.cs
來源:
GraphicsPath.cs

使用指定的 GraphicsPathPathPointType 陣列,初始化 Point 類別的新執行個體。

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())

參數

pts
Point[]

Point 結構的陣列,定義構成這個 GraphicsPath 的點座標。

types
Byte[]

PathPointType 列舉型別元素的陣列,指定 pts 陣列中每一對應點的型別。

適用於

GraphicsPath(PointF[], Byte[])

來源:
GraphicsPath.cs
來源:
GraphicsPath.cs
來源:
GraphicsPath.cs

使用指定的 GraphicsPathPathPointType 陣列,初始化 PointF 陣列的新執行個體。

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())

參數

pts
PointF[]

PointF 結構的陣列,定義構成這個 GraphicsPath 的點座標。

types
Byte[]

PathPointType 列舉型別元素的陣列,指定 pts 陣列中每一對應點的型別。

適用於

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

來源:
GraphicsPath.cs
來源:
GraphicsPath.cs
來源:
GraphicsPath.cs

使用指定的 GraphicsPathPathPointType 陣列以及指定的 Point 列舉型別項目,初始化 FillMode 類別的新執行個體。

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)

參數

pts
Point[]

Point 結構的陣列,定義構成這個 GraphicsPath 的點座標。

types
Byte[]

PathPointType 列舉型別元素的陣列,指定 pts 陣列中每一對應點的型別。

fillMode
FillMode

FillMode 列舉型別,指定如何填滿這個 GraphicsPath 中的形狀內部。

適用於

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

來源:
GraphicsPath.cs
來源:
GraphicsPath.cs
來源:
GraphicsPath.cs

使用指定的 GraphicsPathPathPointType 陣列以及指定的 PointF 列舉型別項目,初始化 FillMode 陣列的新執行個體。

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)

參數

pts
PointF[]

PointF 結構的陣列,定義構成這個 GraphicsPath 的點座標。

types
Byte[]

PathPointType 列舉型別元素的陣列,指定 pts 陣列中每一對應點的型別。

fillMode
FillMode

FillMode 列舉型別,指定如何填滿這個 GraphicsPath 中的形狀內部。

適用於

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

來源:
GraphicsPath.cs
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)

參數

fillMode
FillMode

適用於

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

來源:
GraphicsPath.cs
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)

參數

fillMode
FillMode

適用於