示例#1
0
        public StyleFont(StyleFontFamily family, Size2D emSize, StyleFontStyle style)
        {
            if (family == null) throw new ArgumentNullException("family");

            _fontFamily = family;
            _size = emSize;
            _style = style;
        }
示例#2
0
        public StyleFont(StyleFontFamily family, Size2D emSize, StyleFontStyle style)
        {
            if (family == null)
            {
                throw new ArgumentNullException("family");
            }

            _fontFamily = family;
            _size       = emSize;
            _style      = style;
        }
示例#3
0
 public StyleFont(StyleFontFamily family, Size2D emSize, StyleFontStyle style)
 {
     _fontFamily = family;
     _size = emSize;
     _style = style;
 }