Пример #1
0
 /**
  * Set the Font style of the current font
  *
  * @param i Font style.
  */
 public void setFontStyle(int i) {
   fontstyle = i;
   rebuildFont();
 }
Пример #2
0
 /**
  * Set the Font size of the current font
  *
  * @param i Font size.
  */
 public void setFontSize(int i) {
   fontsize = i;
   rebuildFont();
 }
Пример #3
0
 /**
  * Set the Logical font name of the current font
  *
  * @param s Logical font name.
  */
 public void setFontName(String s) {
   fontname = s;
   rebuildFont();
 }