[]
Initializes a new instance of the TriangleBoxGradientBrush class.
public TriangleBoxGradientBrush(Color[] colors, PointF centrePoint)
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. |
Initializes a new instance of the TriangleBoxGradientBrush class.
public TriangleBoxGradientBrush(Color[] colors, ContentAlignment centrePoint)
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. |