LinearBoxGradientBrush Constructor
In This Topic
Initializes a new instance of the LinearBoxGradientBrush class.
Syntax
'Declaration
Public Function New( _
ByVal () As Color, _
ByVal As GradientDirection _
)
public LinearBoxGradientBrush(
Color[] ,
GradientDirection
)
Parameters
- colors
- An array of System.Drawing.Color that indicates the linear gradient colors.
- direction
- A GradientDirection that indicates the gradient direction.
See Also