'Declaration Public Function New( _ ByVal topColor As Color, _ ByVal bottomColor As Color, _ ByVal mouseTopColor As Color, _ ByVal mouseBottomColor As Color, _ ByVal activeTopColor As Color, _ ByVal activeBottomColor As Color, _ ByVal disabledTopColor As Color, _ ByVal disabledBottomColor As Color, _ ByVal foreColor As Color, _ ByVal backgroundColor As Color, _ ByVal borderColor As Color, _ ByVal pressedTopColor As Color, _ ByVal pressedBottomColor As Color, _ ByVal font As Font, _ ByVal activeFont 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 topColor, Color bottomColor, Color mouseTopColor, Color mouseBottomColor, Color activeTopColor, Color activeBottomColor, Color disabledTopColor, Color disabledBottomColor, Color foreColor, Color backgroundColor, Color borderColor, Color pressedTopColor, Color pressedBottomColor, Font font, Font activeFont )
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