[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.TriangleBoxGradientBrush.-ctor

TriangleBoxGradientBrush Constructor

TriangleBoxGradientBrush(Color[], PointF)

Initializes a new instance of the TriangleBoxGradientBrush class.

Declaration
public TriangleBoxGradientBrush(Color[] colors, PointF centrePoint)
Parameters
Type Name Description
Color[] colors

An array of Color that indicates the linear gradient colors.

PointF centrePoint

A PointF that indicates the gradient centre point.

TriangleBoxGradientBrush(Color[], ContentAlignment)

Initializes a new instance of the TriangleBoxGradientBrush class.

Declaration
public TriangleBoxGradientBrush(Color[] colors, ContentAlignment centrePoint)
Parameters
Type Name Description
Color[] colors

An array of Color that indicates the linear gradient colors.

ContentAlignment centrePoint

A ContentAlignment that indicates the gradient centre point.