Class semper.tinguin.SimpleFont
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.tinguin.SimpleFont

java.lang.Object
   |
   +----semper.tinguin.SimpleFont

public class SimpleFont
extends Object
Definition of device indepent font structure. Very simple, maybe to simple!
Version:
0.4
Author:
Tobias Himstedt

Variable Index

 o AS_IS
Constant to specify no change
 o BOLD
Use bold font.
 o FIXED
Use fixed font.
 o ITALIC
Use italic font.
 o NORMAL
Use normal font.
 o NORMAL_SIZE
The default size of a font.

Constructor Index

 o SimpleFont(int, int, int, int)
Create a new Font.

Method Index

 o toString()
Returns the parameter String of this SimpleFont.

Variables

 o AS_IS
  public static int AS_IS
Constant to specify no change
 o NORMAL_SIZE
  public static int NORMAL_SIZE
The default size of a font.
 o BOLD
  public static int BOLD
Use bold font.
 o ITALIC
  public static int ITALIC
Use italic font.
 o FIXED
  public static int FIXED
Use fixed font.
 o NORMAL
  public static int NORMAL
Use normal font.

Constructors

 o SimpleFont
  public SimpleFont(int size,
                    int it,
                    int tt,
                    int b)
Create a new Font.
Parameters:
size - The size of the font
it - 1 one italic, any other normal
tt - 1 one fixed font, any other normal
b - 1 for bold font, any other normal

Methods

 o toString
  public String toString()
Returns the parameter String of this SimpleFont.
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index