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;
 }
示例#2
0
        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;
        }
示例#3
0
        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;
        }