[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.TriangleBoxGradientBrush

TriangleBoxGradientBrush Class

Represents the brush to be used to fill the gradient shape.

Implements
Namespace: C1.Framework.Drawing.Gdi
Assembly: C1.Win.Input.8.dll
Syntax
public sealed class TriangleBoxGradientBrush : BoxGradientBrush, IDisposable, ICloneable
Remarks

The handle of the LinearBoxGradientBrush is always IntPtr.Zero, so it can not be used to DeviceContext.

Constructors

Name Description
TriangleBoxGradientBrush(Color[], ContentAlignment)

Initializes a new instance of the TriangleBoxGradientBrush class.

TriangleBoxGradientBrush(Color[], PointF)

Initializes a new instance of the TriangleBoxGradientBrush class.

Properties

Name Description
CentrePoint

Gets or sets the gradient direction.

Colors

Gets or sets the linear gradient colors.