Constructor for the Gradient class.
Declaration Syntax
C# | Visual Basic |
public TextGradient( Color color1, Color color2, LinearGradientMode mode, Color borderColor, int borderWidth, CustomFont font )
Public Sub New ( _ color1 As Color, _ color2 As Color, _ mode As LinearGradientMode, _ borderColor As Color, _ borderWidth As Integer, _ font As CustomFont _ )
Parameters
- color1 (Color)
- Gradient first color
- color2 (Color)
- Gradient second color
- mode (LinearGradientMode)
- Gradient mode
- borderColor (Color)
- Border color
- borderWidth (Int32)
- Border width (enter 0 to hide border)
- font (CustomFont)
- Font