GraphicsPath 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用GraphicsPath枚举FillMode初始化类的新实例Alternate。
重载
| 名称 | 说明 |
|---|---|
| GraphicsPath() |
用GraphicsPath值为 FillMode.. 初始化类的新实例Alternate。 |
| GraphicsPath(FillMode) |
使用指定的GraphicsPath枚举初始化类的新实例FillMode。 |
| GraphicsPath(Point[], Byte[]) |
使用指定的GraphicsPath和PathPointType数组初始化类的新实例Point。 |
| GraphicsPath(PointF[], Byte[]) |
使用指定的GraphicsPath数组和PathPointType数组初始化数组的新实例PointF。 |
| GraphicsPath(Point[], Byte[], FillMode) |
使用指定的GraphicsPath数组PathPointType和指定的Point枚举元素初始化类的新实例FillMode。 |
| GraphicsPath(PointF[], Byte[], FillMode) |
使用指定的GraphicsPath数组和PathPointTypePointF指定的枚举元素初始化数组的新实例FillMode。 |
| GraphicsPath(ReadOnlySpan<Point>, ReadOnlySpan<Byte>, FillMode) |
使用指定的GraphicsPath数组PathPointType和指定的Point枚举元素初始化类的新实例FillMode。 |
| GraphicsPath(ReadOnlySpan<PointF>, ReadOnlySpan<Byte>, FillMode) |
使用指定的GraphicsPath数组PathPointType和指定的Point枚举元素初始化类的新实例FillMode。 |
GraphicsPath()
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
用GraphicsPath值为 FillMode.. 初始化类的新实例Alternate。
public:
GraphicsPath();
public GraphicsPath();
Public Sub New ()
适用于
GraphicsPath(FillMode)
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- 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[])
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
使用指定的GraphicsPath和PathPointType数组初始化类的新实例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[])
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
使用指定的GraphicsPath数组和PathPointType数组初始化数组的新实例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)
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
使用指定的GraphicsPath数组PathPointType和指定的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)
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
使用指定的GraphicsPath数组和PathPointTypePointF指定的枚举元素初始化数组的新实例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)
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
使用指定的GraphicsPath数组PathPointType和指定的Point枚举元素初始化类的新实例FillMode。
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)
参数
- pts
- ReadOnlySpan<Point>
一个 Point 结构数组,用于定义构成此 GraphicsPath点的点的坐标。
- types
- ReadOnlySpan<Byte>
枚举元素数组 PathPointType ,指定数组中 pts 每个对应点的类型。
- fillMode
- FillMode
一个 FillMode 枚举,指定如何填充形状 GraphicsPath 的内部。
适用于
GraphicsPath(ReadOnlySpan<PointF>, ReadOnlySpan<Byte>, FillMode)
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
使用指定的GraphicsPath数组PathPointType和指定的Point枚举元素初始化类的新实例FillMode。
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)
参数
- pts
- ReadOnlySpan<PointF>
一个 Point 结构数组,用于定义构成此 GraphicsPath点的点的坐标。
- types
- ReadOnlySpan<Byte>
枚举元素数组 PathPointType ,指定数组中 pts 每个对应点的类型。
- fillMode
- FillMode
一个 FillMode 枚举,指定如何填充形状 GraphicsPath 的内部。