Back to Devexpress

DXLinearGradientBrush Members

corelibraries-devexpress-dot-drawing-dot-dxlineargradientbrush-dot-underscore-members.md

latest5.4 KB
Original Source

DXLinearGradientBrush Members

A brush that paints an area with a linear gradient.

Constructors

NameDescription
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

NameDescription
BlendGets or sets a custom falloff of the gradient.
InterpolationColorsGets or sets a multicolor linear gradient.
LinearColorsGets or sets the starting and ending colors of the gradient.
RectangleGets or sets a rectangular region that defines the starting and ending points of the gradient.
TransformGets or sets a copy of the geometric world transformation. Inherited from DXTilingBrush.
WrapModeGets or sets the brush’s wrap mode. Inherited from DXTilingBrush.

Methods

NameDescription
Clone()Clones the current DXLinearGradientBrush object.
Dispose()Disposes of the DXBrush object. Inherited from DXBrush.
Equals(Object, Object) staticDetermines 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines 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

DXLinearGradientBrush Class

DevExpress.Drawing Namespace