DXLinearGradientBrush Members
A brush that paints an area with a linear gradient.Constructors
| Name | Description |
|---|---|
| DXLinearGradientBrush(PointF, PointF, Color, Color) | Initializes a new instance of the DXLinearGradientBrush class with specified settings. |
| DXLinearGradientBrush(RectangleF, Color, Color, DXLinearGradientMode) | Initializes a new instance of the DXLinearGradientBrush class with specified settings. |
| DXLinearGradientBrush(RectangleF, Color, Color, Single, Boolean) | Initializes a new instance of the DXLinearGradientBrush class with specified settings. |
| DXLinearGradientBrush(RectangleF, Color, Color) | Initializes a new instance of the DXLinearGradientBrush class with specified settings. |
Properties
| Name | Description |
|---|---|
| Blend | Gets or sets a custom falloff of the gradient. |
| InterpolationColors | Gets or sets a multicolor linear gradient. |
| LinearColors | Gets or sets the starting and ending colors of the gradient. |
| Rectangle | Gets or sets a rectangular region that defines the starting and ending points of the gradient. |
| Transform | Gets or sets a copy of the geometric world transformation. Inherited from DXTilingBrush. |
| WrapMode | Gets or sets the brush’s wrap mode. Inherited from DXTilingBrush. |
Methods
| Name | Description |
|---|---|
| Clone() |
Clones the current DXLinearGradientBrush object.
|
| Dispose() |
Disposes of the DXBrush object.
Inherited from DXBrush. |
| Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
| Equals(Object) |
Determines whether the specified object is equal to the current DXLinearGradientBrush object.
|
| GetHashCode() |
Returns the hash code for the current DXLinearGradientBrush object.
|
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| SetBlendTriangularShape(Single, Single) | Creates a linear gradient with a center color and a linear falloff to a single color on both ends. |
| SetBlendTriangularShape(Single) | Creates a linear gradient with a center color and a linear falloff to a single color on both ends. |
| ToString() | Returns a string that represents the current object. Inherited from Object. |
See Also