[]
Initializes a new instance of the LinearGradientBrush class.
public LinearGradientBrush(Color startColor, Color endColor)
| Type | Name | Description |
|---|---|---|
| Color | startColor | The start gradient color. |
| Color | endColor | The end gradient color. |
Initializes a new instance of the LinearGradientBrush class.
public LinearGradientBrush(Color startColor, PointF startPoint, Color endColor, PointF endPoint)
| Type | Name | Description |
|---|---|---|
| Color | startColor | The start gradient color. |
| PointF | startPoint | The start gradient point. |
| Color | endColor | The end gradient color. |
| PointF | endPoint | The end gradient point. |
Creates a copy of a LinearGradientBrush object.
public LinearGradientBrush(LinearGradientBrush source)
| Type | Name | Description |
|---|---|---|
| LinearGradientBrush | source |