public class CFont extends Object
Font.| Constructor and Description |
|---|
CFont()
Creates an default font.
|
CFont(Font... fonts)
Creates a font initialized with a Java-style
Font's. |
CFont(Font font)
Creates a font initialized with a Java-style
Font. |
CFont(int index)
Creates a font initialized with an index.
|
CFont(List<Font> fonts)
Creates a font initialized with a Java-style
Font's. |
public CFont()
public CFont(int index)
index - the font index combined with possible BOLD and ITALIC attributes.IllegalArgumentException - for invalid index.public CFont(Font font)
Font.font - the font to use.IllegalArgumentException - for invalid font.public CFont(Font... fonts)
Font's. The first font
available on the client will be used, the rest will be ignored.font(s) - the font to use.IllegalArgumentException - for invalid font.public CFont(List<Font> fonts)
Font's. The first font
available on the client will be used, the rest will be ignored.font(s) - the font to use.IllegalArgumentException - for invalid font.public int getIndex()
Font
that is retrieved using getFont().public Font getFont()
Font.public Font[] getFonts()
Phantom® and NetPhantom® are registered trademarks of Nexum Technologies SARL.
© Copyright Nexum Technologies SARL, 2011. All rights reserved.