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()
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)
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[])
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[])
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)
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)
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.