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

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

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