GradientInterfaceRenderer Constructor(Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Font,Font)
In This Topic
Creates a new interface gradient renderer with the specified parameters.
Syntax
'Declaration
Public Function New( _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Font, _
ByVal As Font _
)
'Usage
Dim topColor As Color
Dim bottomColor As Color
Dim mouseTopColor As Color
Dim mouseBottomColor As Color
Dim activeTopColor As Color
Dim activeBottomColor As Color
Dim disabledTopColor As Color
Dim disabledBottomColor As Color
Dim foreColor As Color
Dim backgroundColor As Color
Dim borderColor As Color
Dim pressedTopColor As Color
Dim pressedBottomColor As Color
Dim font As Font
Dim activeFont As Font
Dim instance As New GradientInterfaceRenderer(topColor, bottomColor, mouseTopColor, mouseBottomColor, activeTopColor, activeBottomColor, disabledTopColor, disabledBottomColor, foreColor, backgroundColor, borderColor, pressedTopColor, pressedBottomColor, font, activeFont)
public GradientInterfaceRenderer(
Color ,
Color ,
Color ,
Color ,
Color ,
Color ,
Color ,
Color ,
Color ,
Color ,
Color ,
Color ,
Color ,
Font ,
Font
)
Parameters
- topColor
- Top color of the gradient
- bottomColor
- Bottom color of the gradient
- mouseTopColor
- Top color of the gradient for mouse-overs
- mouseBottomColor
- Bottom color of the gradient for mouse-overs
- activeTopColor
- Top color of the gradient when in focus
- activeBottomColor
- Bottom color of the gradient when in focus
- disabledTopColor
- Top color of the gradient when disabled
- disabledBottomColor
- Bottom color of the gradient when disabled
- foreColor
- Text color
- backgroundColor
- Background color
- borderColor
- Border color
- pressedTopColor
- Top color of the gradient when pressed
- pressedBottomColor
- Bottom color of the gradient when pressed
- font
- Text font
- activeFont
- Text font when in focus
See Also