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

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

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

public:
 PathGradientBrush(cli::array <System::Drawing::Point> ^ points);
public PathGradientBrush (System.Drawing.Point[] points);
new System.Drawing.Drawing2D.PathGradientBrush : System.Drawing.Point[] -> System.Drawing.Drawing2D.PathGradientBrush
Public Sub New (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

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

public:
 PathGradientBrush(cli::array <System::Drawing::PointF> ^ points);
public PathGradientBrush (System.Drawing.PointF[] points);
new System.Drawing.Drawing2D.PathGradientBrush : System.Drawing.PointF[] -> System.Drawing.Drawing2D.PathGradientBrush
Public Sub New (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(Point[], WrapMode)

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

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