[]
Represents a linear gradient brush.
public class LinearGradientBrush : Brush
Public Class LinearGradientBrush
Inherits Brush
Name | Description |
---|---|
LinearGradientBrush(LinearGradientBrush) | Creates a copy of a LinearGradientBrush object. |
LinearGradientBrush(Color, Color) | Initializes a new instance of the LinearGradientBrush class. |
LinearGradientBrush(Color, PointF, Color, PointF) | Initializes a new instance of the LinearGradientBrush class. |
Name | Description |
---|---|
EndColor | Gets or sets the ending gradient color. |
EndPoint | Gets or sets the coordinates of the end point of the current linear gradient brush. (0,0) is the top-left corner, (1,1) is the bottom-right corner. |
GradientStops | Gets or sets the collection of gradient stops. |
StartColor | Gets or sets the starting gradient color. |
StartPoint | Gets or sets the coordinates of the start point of the current linear gradient brush. (0,0) is the top-left corner, (1,1) is the bottom-right corner. |
Visible | Gets a value indicating whether the brush is actually visible. |
Name | Description |
---|---|
AreSemitransparentColorsUsed() | Returns a value indicating whether brush uses semi-transparent colors. |
SameBrush(Brush) | Returns True if the specified brush is the same as the current brush. |