PathGradientBrush 构造函数

定义

使用指定的路径初始化 PathGradientBrush 类的新实例。Initializes a new instance of the PathGradientBrush class with the specified path.

重载

PathGradientBrush(GraphicsPath)

使用指定的路径初始化 PathGradientBrush 类的新实例。Initializes a new instance of the PathGradientBrush class with the specified path.

PathGradientBrush(Point[])

使用指定的点初始化 PathGradientBrush 类的新实例。Initializes a new instance of the PathGradientBrush class with the specified points.

PathGradientBrush(PointF[])

使用指定的点初始化 PathGradientBrush 类的新实例。Initializes a new instance of the PathGradientBrush class with the specified points.

PathGradientBrush(Point[], WrapMode)

使用指定的点和环绕模式初始化 PathGradientBrush 类的新实例。Initializes a new instance of the PathGradientBrush class with the specified points and wrap mode.

PathGradientBrush(PointF[], WrapMode)

使用指定的点和环绕模式初始化 PathGradientBrush 类的新实例。Initializes a new instance of the PathGradientBrush class with the specified points and wrap mode.

PathGradientBrush(GraphicsPath)

使用指定的路径初始化 PathGradientBrush 类的新实例。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)

参数

path
GraphicsPath

GraphicsPath,定义此 PathGradientBrush 填充的区域。The GraphicsPath that defines the area filled by this PathGradientBrush.

PathGradientBrush(Point[])

使用指定的点初始化 PathGradientBrush 类的新实例。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())

参数

points
Point[]

一个 Point 结构的数组,它表示构成路径的顶点的点。An array of Point structures that represents the points that make up the vertices of the path.

PathGradientBrush(PointF[])

使用指定的点初始化 PathGradientBrush 类的新实例。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())

参数

points
PointF[]

一个 PointF 结构的数组,它表示构成路径的顶点的点。An array of PointF structures that represents the points that make up the vertices of the path.

PathGradientBrush(Point[], WrapMode)

使用指定的点和环绕模式初始化 PathGradientBrush 类的新实例。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

参数

points
Point[]

一个 Point 结构的数组,它表示构成路径的顶点的点。An array of Point structures that represents the points that make up the vertices of the path.

wrapMode
WrapMode

一个 WrapMode,指定使用此 PathGradientBrush 绘制的填充的平铺方式。A WrapMode that specifies how fills drawn with this PathGradientBrush are tiled.

PathGradientBrush(PointF[], WrapMode)

使用指定的点和环绕模式初始化 PathGradientBrush 类的新实例。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

参数

points
PointF[]

一个 PointF 结构的数组,它表示构成路径的顶点的点。An array of PointF structures that represents the points that make up the vertices of the path.

wrapMode
WrapMode

一个 WrapMode,指定使用此 PathGradientBrush 绘制的填充的平铺方式。A WrapMode that specifies how fills drawn with this PathGradientBrush are tiled.

适用于