Constructor XTypeface
XTypeface(string)
Initializes a new instance of the XTypeface class.
public XTypeface(string typefaceName)
Parameters
typefaceNamestringName of the typeface.
XTypeface(XFontFamily, XFontStyle, XFontWeight, XFontStretch)
Initializes a new instance of the XTypeface class.
public XTypeface(XFontFamily family, XFontStyle style, XFontWeight weight, XFontStretch stretch)
Parameters
familyXFontFamilyThe font family of the typeface.
styleXFontStyleThe style of the typeface.
weightXFontWeightThe relative weight of the typeface.
stretchXFontStretchThe degree to which the typeface is stretched.