예제 #1
0
 /**
  * Creates a font of the specified face, point size, bold weight and
  * italicised option.
  *
  * @param ps the point size
  * @param bs the bold style
  * @param italic italic flag
  * @param fn the font name
  */
 public WritableFont(FontName fn, int ps, BoldStyle bs, bool italic)
     : this(fn, ps, bs, italic,
            UnderlineStyle.NO_UNDERLINE,
            Colour.BLACK,
            ScriptStyle.NORMAL_SCRIPT)
 {
 }
예제 #2
0
파일: Font.cs 프로젝트: morninn/PetSof
 /**
  * Creates a font of the specified face, point size, bold weight,
  * italicisation and underline style
  *
  * @param ps the point size
  * @param bs the bold style
  * @param us underscore flag
  * @param fn font name
  * @param it italic flag
  * @deprecated use jxl.write.WritableFont
  */
 public Font(FontName fn,
             int ps,
             BoldStyle bs,
             bool it,
             UnderlineStyle us)
     : base(fn, ps, bs, it, us)
 {
 }
예제 #3
0
 /**
  * Creates a font of the specified face, point size, bold weight,
  * italicisation and underline style
  *
  * @param ps the point size
  * @param bs the bold style
  * @param us the underline style
  * @param fn the font name
  * @param it italic flag
  */
 public WritableFont(FontName fn,
                     int ps,
                     BoldStyle bs,
                     bool it,
                     UnderlineStyle us)
     : this(fn, ps, bs, it, us, Colour.BLACK, ScriptStyle.NORMAL_SCRIPT)
 {
 }
예제 #4
0
파일: Font.cs 프로젝트: morninn/PetSof
 /**
  * Creates a font of the specified face, point size, bold style,
  * italicisation, underline style, colour, and script
  * style (superscript/subscript)
  *
  * @param ps the point size
  * @param bs the bold style
  * @param us the underline style
  * @param fn the font name
  * @param it the italic flag
  * @param c the colour
  * @param ss the script style
  * @deprecated use jxl.write.WritableFont
  */
 public Font(FontName fn,
             int ps,
             BoldStyle bs,
             bool it,
             UnderlineStyle us,
             Colour c,
             ScriptStyle ss)
     : base(fn, ps, bs, it, us, c, ss)
 {
 }
예제 #5
0
 /**
  * Creates a font of the specified face, point size, bold style,
  * italicisation, underline style, colour, and script
  * style (superscript/subscript)
  *
  * @param ps the point size
  * @param bs the bold style
  * @param us the underline style
  * @param fn the font name
  * @param it the italic flag
  * @param c the colour
  * @param ss the script style
  */
 public WritableFont(FontName fn,
                     int ps,
                     BoldStyle bs,
                     bool it,
                     UnderlineStyle us,
                     Colour c,
                     ScriptStyle ss)
     : base(fn.name, ps, bs.value, it, us.getValue(), c.getValue(), ss.getValue())
 {
 }
예제 #6
0
파일: Font.cs 프로젝트: morninn/PetSof
 /**
  * Creates a font of the specified face, point size, bold weight and
  * italicised option.
  *
  * @param ps the point size
  * @param bs the bold style
  * @param italic italic flag
  * @param fn the font name
  * @deprecated use jxl.write.WritableFont
  */
 public Font(FontName fn, int ps, BoldStyle bs, bool italic)
     : base(fn, ps, bs, italic)
 {
 }
예제 #7
0
파일: Font.cs 프로젝트: morninn/PetSof
 /**
  * Creates a font of the specified face, point size and bold style
  *
  * @param ps the point size
  * @param bs the bold style
  * @param fn the font name
  * @deprecated use jxl.write.WritableFont
  */
 public Font(FontName fn, int ps, BoldStyle bs)
     : base(fn, ps, bs)
 {
 }
예제 #8
0
 /**
  * Sets the bold style for this font, if the font hasn't been initialized
  *
  * @param boldStyle the bold style
  * @exception WriteException, if this font is already in use elsewhere
  */
 public void setBoldStyle(BoldStyle boldStyle)
 {
     base.setBoldStyle(boldStyle.value);
 }