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
family
FontFamilySpecifies FontFamily of this new instance.
size
doubleSpecifies size of this new instance.
stretch
FontStretchSpecifies FontStretch of this new instance.
style
FontStyleSpecifies FontStyle of this new instance.
weight
FontWeightSpecifies 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
family
FontFamilySpecifies FontFamily of this new instance.
size
doubleSpecifies size of this new instance.
style
FontStyleSpecifies FontStyle of this new instance.