Constructor MediaFont
MediaFont(FontFamily, double, FontStretch, FontStyle, FontWeight)
Initializes a new instance of the MediaFont class with specified parameters.
public MediaFont(FontFamily family, double size, FontStretch stretch, FontStyle style, FontWeight weight)
Parameters
familyFontFamilySpecifies FontFamily of this new instance.
sizedoubleSpecifies size of this new instance.
stretchFontStretchSpecifies FontStretch of this new instance.
styleFontStyleSpecifies FontStyle of this new instance.
weightFontWeightSpecifies FontWeight of this new instance.
MediaFont(FontFamily, double, FontStyle)
Initializes a new instance of the MediaFont class with specified parameters.
public MediaFont(FontFamily family, double size, FontStyle style)
Parameters
familyFontFamilySpecifies FontFamily of this new instance.
sizedoubleSpecifies size of this new instance.
styleFontStyleSpecifies FontStyle of this new instance.