Example usage for Java com.lowagie.text Font fields, constructors, methods, implement or subclass
The text is from its open source code.
int | COURIER a possible value of a font family. |
int | HELVETICA a possible value of a font family. |
int | TIMES_ROMAN a possible value of a font family. |
int | SYMBOL a possible value of a font family. |
int | NORMAL this is a possible style. |
int | BOLD this is a possible style. |
int | ITALIC this is a possible style. |
int | UNDERLINE this is a possible style. |
int | STRIKETHRU this is a possible style. |
int | BOLDITALIC this is a possible style. |
int | UNDEFINED the value of an undefined attribute. |
int | DEFAULTSIZE the value of the default size. |
int | family the value of the fontfamily. |
float | size the value of the fontsize. |
int | style the value of the style. |
Color | color the value of the color. |
Font(BaseFont bf, float size) Constructs a Font. | |
Font(int family, float size) Constructs a Font. | |
Font(BaseFont bf, float size, int style) Constructs a Font. | |
Font(int family, float size, int style) Constructs a Font. | |
Font() Constructs a Font. | |
Font(int family, float size, int style, Color color) Constructs a Font. | |
Font(BaseFont bf, float size, int style, Color color) Constructs a Font. | |
Font(Font other) Copy constructor of a Font | |
Font(BaseFont bf) Constructs a Font. | |
Font(int family) Constructs a Font. |
BaseFont | getBaseFont() Gets the BaseFont inside this object. |
BaseFont | getCalculatedBaseFont(boolean specialEncoding) Gets the BaseFont this class represents. |
float | getCalculatedLeading(float linespacing) Gets the leading that can be used with this font. |
float | getCalculatedSize() Gets the size that can be used with the calculated BaseFont . |
int | getCalculatedStyle() Gets the style that can be used with the calculated BaseFont . |
Color | getColor() Gets the color of this font. |
int | getFamily() Gets the family of this font. |
int | getFamilyIndex(String family) Translates a String -value of a certain family into the index that is used for this family in this class. |
String | getFamilyname() Gets the familyname as a String. |
float | getSize() Gets the size of this font. |
int | getStyle() Gets the style of this font. |
boolean | isBold() checks if this font is Bold. |
boolean | isItalic() checks if this font is Bold. |
boolean | isStandardFont() Checks if the properties of this font are undefined or null. |
boolean | isStrikethru() checks if the style of this font is STRIKETHRU. |
boolean | isUnderlined() checks if this font is underlined. |
void | setColor(Color color) Sets the color. |
void | setColor(int red, int green, int blue) Sets the color. |
void | setFamily(String family) Sets the family using a String ("Courier", "Helvetica", "Times New Roman", "Symbol" or "ZapfDingbats"). |
void | setSize(float size) Sets the size. |
void | setStyle(int style) Sets the style. |
void | setStyle(String style) Sets the style using a String containing one of more of the following values: normal, bold, italic, underline, strike. |