public XTypefaceHack(string fontFamilyName, XFontStyle style, XFontWeight weight, XFontStretch stretch) { if (String.IsNullOrEmpty(fontFamilyName)) throw new ArgumentNullException("fontFamilyName"); this.fontFamilyName = fontFamilyName; this.style = style; this.weight = weight; this.stretch = stretch; }
public XTypefaceHack(string fontFamilyName, XFontStyle style, XFontWeight weight, XFontStretch stretch) { if (String.IsNullOrEmpty(fontFamilyName)) { throw new ArgumentNullException("fontFamilyName"); } this.fontFamilyName = fontFamilyName; this.style = style; this.weight = weight; this.stretch = stretch; }