'Declaration
Public Function New( _ ByVal style As GradientStyle, _ ByVal direction As GradientDirection, _ ByVal startColor As Color, _ ByVal endColor As Color _ )
'Usage
Dim style As GradientStyle Dim direction As GradientDirection Dim startColor As Color Dim endColor As Color Dim instance As New GradientEffect(style, direction, startColor, endColor)
public GradientEffect( GradientStyle style, GradientDirection direction, Color startColor, Color endColor )
Parameters
- style
- Indicates the style of gradient.
- direction
- Indicates the direction of gradient.
- startColor
- Indicates the color of gradient starting.
- endColor
- Indicates the color of gradient ending.