PathGradientBrush Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the PathGradientBrush class with the specified path.
Overloads
PathGradientBrush(GraphicsPath) |
Initializes a new instance of the PathGradientBrush class with the specified path. |
PathGradientBrush(Point[]) |
Initializes a new instance of the PathGradientBrush class with the specified points. |
PathGradientBrush(PointF[]) |
Initializes a new instance of the PathGradientBrush class with the specified points. |
PathGradientBrush(ReadOnlySpan<Point>) | |
PathGradientBrush(ReadOnlySpan<PointF>) | |
PathGradientBrush(WrapMode, ReadOnlySpan<Point>) | |
PathGradientBrush(WrapMode, ReadOnlySpan<PointF>) | |
PathGradientBrush(Point[], WrapMode) |
Initializes a new instance of the PathGradientBrush class with the specified points and wrap mode. |
PathGradientBrush(PointF[], WrapMode) |
Initializes a new instance of the PathGradientBrush class with the specified points and wrap mode. |
PathGradientBrush(GraphicsPath)
- Source:
- PathGradientBrush.cs
- Source:
- PathGradientBrush.cs
- Source:
- PathGradientBrush.cs
- Source:
- PathGradientBrush.cs
- Source:
- PathGradientBrush.cs
Initializes a new instance of the PathGradientBrush class with the specified path.
public:
PathGradientBrush(System::Drawing::Drawing2D::GraphicsPath ^ path);
public PathGradientBrush (System.Drawing.Drawing2D.GraphicsPath path);
new System.Drawing.Drawing2D.PathGradientBrush : System.Drawing.Drawing2D.GraphicsPath -> System.Drawing.Drawing2D.PathGradientBrush
Public Sub New (path As GraphicsPath)
Parameters
- path
- GraphicsPath
The GraphicsPath that defines the area filled by this PathGradientBrush.
Applies to
PathGradientBrush(Point[])
- Source:
- PathGradientBrush.cs
- Source:
- PathGradientBrush.cs
- Source:
- PathGradientBrush.cs
- Source:
- PathGradientBrush.cs
- Source:
- PathGradientBrush.cs
Initializes a new instance of the PathGradientBrush class with the specified points.
public:
PathGradientBrush(cli::array <System::Drawing::Point> ^ points);
public:
PathGradientBrush(... cli::array <System::Drawing::Point> ^ points);
public PathGradientBrush (System.Drawing.Point[] points);
public PathGradientBrush (params System.Drawing.Point[] points);
new System.Drawing.Drawing2D.PathGradientBrush : System.Drawing.Point[] -> System.Drawing.Drawing2D.PathGradientBrush
Public Sub New (points As Point())
Public Sub New (ParamArray points As Point())
Parameters
- points
- Point[]
An array of Point structures that represents the points that make up the vertices of the path.
Applies to
PathGradientBrush(PointF[])
- Source:
- PathGradientBrush.cs
- Source:
- PathGradientBrush.cs
- Source:
- PathGradientBrush.cs
- Source:
- PathGradientBrush.cs
- Source:
- PathGradientBrush.cs
Initializes a new instance of the PathGradientBrush class with the specified points.
public:
PathGradientBrush(cli::array <System::Drawing::PointF> ^ points);
public:
PathGradientBrush(... cli::array <System::Drawing::PointF> ^ points);
public PathGradientBrush (System.Drawing.PointF[] points);
public PathGradientBrush (params System.Drawing.PointF[] points);
new System.Drawing.Drawing2D.PathGradientBrush : System.Drawing.PointF[] -> System.Drawing.Drawing2D.PathGradientBrush
Public Sub New (points As PointF())
Public Sub New (ParamArray points As PointF())
Parameters
- points
- PointF[]
An array of PointF structures that represents the points that make up the vertices of the path.
Applies to
PathGradientBrush(ReadOnlySpan<Point>)
- Source:
- PathGradientBrush.cs
public:
PathGradientBrush(ReadOnlySpan<System::Drawing::Point> points);
public PathGradientBrush (scoped ReadOnlySpan<System.Drawing.Point> points);
new System.Drawing.Drawing2D.PathGradientBrush : ReadOnlySpan<System.Drawing.Point> -> System.Drawing.Drawing2D.PathGradientBrush
Public Sub New (points As ReadOnlySpan(Of Point))
Parameters
- points
- ReadOnlySpan<Point>
Applies to
PathGradientBrush(ReadOnlySpan<PointF>)
- Source:
- PathGradientBrush.cs
public:
PathGradientBrush(ReadOnlySpan<System::Drawing::PointF> points);
public PathGradientBrush (scoped ReadOnlySpan<System.Drawing.PointF> points);
new System.Drawing.Drawing2D.PathGradientBrush : ReadOnlySpan<System.Drawing.PointF> -> System.Drawing.Drawing2D.PathGradientBrush
Public Sub New (points As ReadOnlySpan(Of PointF))
Parameters
- points
- ReadOnlySpan<PointF>
Applies to
PathGradientBrush(WrapMode, ReadOnlySpan<Point>)
- Source:
- PathGradientBrush.cs
public:
PathGradientBrush(System::Drawing::Drawing2D::WrapMode wrapMode, ReadOnlySpan<System::Drawing::Point> points);
public PathGradientBrush (System.Drawing.Drawing2D.WrapMode wrapMode, scoped ReadOnlySpan<System.Drawing.Point> points);
new System.Drawing.Drawing2D.PathGradientBrush : System.Drawing.Drawing2D.WrapMode * ReadOnlySpan<System.Drawing.Point> -> System.Drawing.Drawing2D.PathGradientBrush
Public Sub New (wrapMode As WrapMode, points As ReadOnlySpan(Of Point))
Parameters
- wrapMode
- WrapMode
- points
- ReadOnlySpan<Point>
Applies to
PathGradientBrush(WrapMode, ReadOnlySpan<PointF>)
- Source:
- PathGradientBrush.cs
public:
PathGradientBrush(System::Drawing::Drawing2D::WrapMode wrapMode, ReadOnlySpan<System::Drawing::PointF> points);
public PathGradientBrush (System.Drawing.Drawing2D.WrapMode wrapMode, scoped ReadOnlySpan<System.Drawing.PointF> points);
new System.Drawing.Drawing2D.PathGradientBrush : System.Drawing.Drawing2D.WrapMode * ReadOnlySpan<System.Drawing.PointF> -> System.Drawing.Drawing2D.PathGradientBrush
Public Sub New (wrapMode As WrapMode, points As ReadOnlySpan(Of PointF))
Parameters
- wrapMode
- WrapMode
- points
- ReadOnlySpan<PointF>
Applies to
PathGradientBrush(Point[], WrapMode)
- Source:
- PathGradientBrush.cs
- Source:
- PathGradientBrush.cs
- Source:
- PathGradientBrush.cs
- Source:
- PathGradientBrush.cs
- Source:
- PathGradientBrush.cs
Initializes a new instance of the PathGradientBrush class with the specified points and wrap mode.
public:
PathGradientBrush(cli::array <System::Drawing::Point> ^ points, System::Drawing::Drawing2D::WrapMode wrapMode);
public PathGradientBrush (System.Drawing.Point[] points, System.Drawing.Drawing2D.WrapMode wrapMode);
new System.Drawing.Drawing2D.PathGradientBrush : System.Drawing.Point[] * System.Drawing.Drawing2D.WrapMode -> System.Drawing.Drawing2D.PathGradientBrush
Public Sub New (points As Point(), wrapMode As WrapMode)
Parameters
- points
- Point[]
An array of Point structures that represents the points that make up the vertices of the path.
- wrapMode
- WrapMode
A WrapMode that specifies how fills drawn with this PathGradientBrush are tiled.
Applies to
PathGradientBrush(PointF[], WrapMode)
- Source:
- PathGradientBrush.cs
- Source:
- PathGradientBrush.cs
- Source:
- PathGradientBrush.cs
- Source:
- PathGradientBrush.cs
- Source:
- PathGradientBrush.cs
Initializes a new instance of the PathGradientBrush class with the specified points and wrap mode.
public:
PathGradientBrush(cli::array <System::Drawing::PointF> ^ points, System::Drawing::Drawing2D::WrapMode wrapMode);
public PathGradientBrush (System.Drawing.PointF[] points, System.Drawing.Drawing2D.WrapMode wrapMode);
new System.Drawing.Drawing2D.PathGradientBrush : System.Drawing.PointF[] * System.Drawing.Drawing2D.WrapMode -> System.Drawing.Drawing2D.PathGradientBrush
Public Sub New (points As PointF(), wrapMode As WrapMode)
Parameters
- points
- PointF[]
An array of PointF structures that represents the points that make up the vertices of the path.
- wrapMode
- WrapMode
A WrapMode that specifies how fills drawn with this PathGradientBrush are tiled.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for