Upravit

Sdílet prostřednictvím


PathGradientBrush Constructors

Definition

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

Initializes a new instance of the PathGradientBrush class with the specified points.

PathGradientBrush(ReadOnlySpan<PointF>)

Initializes a new instance of the PathGradientBrush class with the specified points.

PathGradientBrush(WrapMode, ReadOnlySpan<Point>)

Initializes a new instance of the PathGradientBrush class with the specified points and wrap mode.

PathGradientBrush(WrapMode, ReadOnlySpan<PointF>)

Initializes a new instance of the PathGradientBrush class with the specified points and wrap mode.

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

Initializes a new instance of the PathGradientBrush class with the specified points.

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>

An array of PointF structures that represents the points that make up the vertices of the path.

Applies to

PathGradientBrush(ReadOnlySpan<PointF>)

Source:
PathGradientBrush.cs

Initializes a new instance of the PathGradientBrush class with the specified points.

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>

An array of PointF structures that represents the points that make up the vertices of the path.

Applies to

PathGradientBrush(WrapMode, ReadOnlySpan<Point>)

Source:
PathGradientBrush.cs

Initializes a new instance of the PathGradientBrush class with the specified points and wrap mode.

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

A WrapMode that specifies how fills drawn with this PathGradientBrush are tiled.

points
ReadOnlySpan<Point>

An array of PointF structures that represents the points that make up the vertices of the path.

Applies to

PathGradientBrush(WrapMode, ReadOnlySpan<PointF>)

Source:
PathGradientBrush.cs

Initializes a new instance of the PathGradientBrush class with the specified points and wrap mode.

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

A WrapMode that specifies how fills drawn with this PathGradientBrush are tiled.

points
ReadOnlySpan<PointF>

An array of PointF structures that represents the points that make up the vertices of the path.

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