Skip to main content
All docs
V24.1

DXLinearGradientBrush Constructors

A brush that paints an area with a linear gradient.
Name Parameters Description
DXLinearGradientBrush(PointF, PointF, Color, Color) startPoint, endPoint, color1, color2 Initializes a new instance of the DXLinearGradientBrush class with specified settings.
DXLinearGradientBrush(RectangleF, Color, Color, DXLinearGradientMode) rectangle, color1, color2, linearGradientMode Initializes a new instance of the DXLinearGradientBrush class with specified settings.
DXLinearGradientBrush(RectangleF, Color, Color, Single, Boolean) rectangle, color1, color2, angle, isAngleScalable Initializes a new instance of the DXLinearGradientBrush class with specified settings.
DXLinearGradientBrush(RectangleF, Color, Color) rectangle, color1, color2 Initializes a new instance of the DXLinearGradientBrush class with specified settings.
See Also