[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.LinearBoxGradientBrush

LinearBoxGradientBrush Class

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

Implements
Namespace: C1.Framework.Drawing.Gdi
Assembly: C1.Win.Input.4.8.dll
Syntax
public sealed class LinearBoxGradientBrush : BoxGradientBrush, IDisposable, ICloneable
Public NotInheritable Class LinearBoxGradientBrush
    Inherits BoxGradientBrush
    Implements IDisposable, ICloneable
Remarks

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

Constructors

Name Description
LinearBoxGradientBrush(Color[], GradientDirection)

Initializes a new instance of the LinearBoxGradientBrush class.

Properties

Name Description
Colors

Gets or sets the linear gradient colors.

Direction

Gets or sets the gradient direction.