Constructor TextStyleDescription
TextStyleDescription(FontFamily, float, FontStyle, Color)
Initializes a new instance of the TextStyleDescription
class with specified settings.
public TextStyleDescription(FontFamily familyName, float emSize, FontStyle style, Color foreColor)
Parameters
familyName
FontFamilyThe FontFamily name associated with this text style.
emSize
floatThe em-size of the font associated with this text style.
style
FontStyleThe FontStyle associated with this text style.
foreColor
ColorThe fore color associated with this text style.