public class Font extends Object
| Constructor and Description |
|---|
Font()
Creates a new instance of Font
|
Font(int size) |
| Modifier and Type | Method and Description |
|---|---|
com.lowagie.text.pdf.BaseFont |
getBaseFont()
This method for setting the Font details
Here set the basic FONT(TIMES_BOLD, WINANSI, EMBEDDED).
|
Color |
getColor() |
String |
getFont() |
int |
getSize() |
void |
setColor(Color color) |
void |
setColor(String strColor)
This method for setting the color to font.
|
void |
setFont(String font)
This method for setting the font size.
|
void |
setSize(int size) |
public static String BOLD
public String getFont()
public void setFont(String font)
public Color getColor()
public void setColor(String strColor)
strColor - public void setColor(Color color)
public int getSize()
public void setSize(int size)
public com.lowagie.text.pdf.BaseFont getBaseFont()
Copyright © 2013 The Kuali Foundation. All Rights Reserved.