[]
Initializes a new instance of the LinearGradientBrush class.
public LinearGradientBrush(Color startColor, Color endColor)
Public Sub New(startColor As Color, endColor As Color)
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)
Public Sub New(startColor As Color, startPoint As PointF, endColor As Color, endPoint As PointF)
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)
Public Sub New(source As LinearGradientBrush)
Type | Name | Description |
---|---|---|
LinearGradientBrush | source |