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
familyNameFontFamilyThe FontFamily name associated with this text style.
emSizefloatThe em-size of the font associated with this text style.
styleFontStyleThe FontStyle associated with this text style.
foreColorColorThe fore color associated with this text style.
TextStyleDescription(FontFamily, double, FontStyle, Color)
public TextStyleDescription(FontFamily familyName, double emSize, FontStyle style, Color foreColor)
Parameters
familyNameFontFamilyemSizedoublestyleFontStyleforeColorColor