Skip to main content
All docs
V24.1

DXLinearGradientBrush Methods

A brush that paints an area with a linear gradient.
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