Constructor TextStyle
TextStyle(Font, Color)
Initializes a new instance of the TextStyle
class with specified settings.
public TextStyle(Font font, Color foreColor)
Parameters
font
FontFont associated with this new object.
foreColor
ColorFore color associated with this new object.
TextStyle(Font, Color)
public TextStyle(Font font, Color foreColor)