PathGradientBrush.PathGradientBrush

PathGradientBrush(PointF[])

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

public PathGradientBrush(PointF[] pathPoints)
ParameterTypeDescription
pathPointsPointF[]An array of PointF structures that represents the points that make up the vertices of the path.

See Also


PathGradientBrush(PointF[], WrapMode)

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

public PathGradientBrush(PointF[] pathPoints, WrapMode wrapMode)
ParameterTypeDescription
pathPointsPointF[]An array of PointF structures that represents the points that make up the vertices of the path.
wrapModeWrapModeA WrapMode that specifies how fills drawn with this PathGradientBrush are tiled.

See Also


PathGradientBrush(Point[])

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

public PathGradientBrush(Point[] pathPoints)
ParameterTypeDescription
pathPointsPoint[]An array of Point structures that represents the points that make up the vertices of the path.

See Also


PathGradientBrush(Point[], WrapMode)

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

public PathGradientBrush(Point[] pathPoints, WrapMode wrapMode)
ParameterTypeDescription
pathPointsPoint[]An array of Point structures that represents the points that make up the vertices of the path.
wrapModeWrapModeA WrapMode that specifies how fills drawn with this PathGradientBrush are tiled.

See Also


PathGradientBrush(GraphicsPath)

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

public PathGradientBrush(GraphicsPath path)
ParameterTypeDescription
pathGraphicsPathThe GraphicsPath that defines the area filled by this PathGradientBrush.

See Also