public GDIFontStyle(GDIFontFamily family, string id, string name, string fullName, FontStyle style, int weight) { _family = family; Id = id; Name = name; FullName = fullName; StyleType = style.AsStyleType(); Weight = weight; }
public W2DFontStyle(W2DFontFamily family, string id, string name, string fullName, FontStyle style, FontWeight weight) { _family = family; Id = id; Name = name; FullName = fullName; StyleType = style.AsStyleType(); Weight = weight.Weight; NativeFontStyle = style; NativeFontWeight = weight; }
public DXFontStyle(DXFontFamily family, string id, string name, string fullName, FontStyle style, FontWeight weight, FontFace fontFace) { _family = family; _id = id; _name = name; _fullName = fullName; _styleType = style.AsStyleType(); _weight = (int)weight; _dxFontStyle = style; _dxFontWeight = weight; _dxFontFace = fontFace; }