| java.lang.Object com.javujavu.javux.wings.WingFont
WingFont | public class WingFont (Code) | | This class extends Font functionality with underline
and antialias style.
This is one of the core WingS classes required by all the components
This class is thread safe.
|
Constructor Summary | |
public | WingFont(Font font) | public | WingFont(String name, int style, int size, boolean underline, boolean antialias) | public | WingFont(Font font, boolean underline, boolean antialias) |
Method Summary | |
public int | charsWidth(char[] data, int offset, int length) | public void | drawChars(Graphics g, char[] data, int offset, int length, int x, int y) | public void | drawChars(Graphics g, char[] data, int offset, int length, int x, int y, boolean first) | public void | drawString(Graphics g, String s, int x, int y) | public int | getAscent() | public int | getDescent() | public Font | getFont() | public int | getHeight() | public boolean | isAntialias() | public boolean | isUnderline() | protected FontMetrics | metrics() | public int | stringWidth(String s) |
antialias | protected boolean antialias(Code) | | |
underline | protected boolean underline(Code) | | |
WingFont | public WingFont(String name, int style, int size, boolean underline, boolean antialias)(Code) | | |
WingFont | public WingFont(Font font, boolean underline, boolean antialias)(Code) | | |
charsWidth | public int charsWidth(char[] data, int offset, int length)(Code) | | |
drawChars | public void drawChars(Graphics g, char[] data, int offset, int length, int x, int y)(Code) | | |
drawChars | public void drawChars(Graphics g, char[] data, int offset, int length, int x, int y, boolean first)(Code) | | |
getAscent | public int getAscent()(Code) | | |
getDescent | public int getDescent()(Code) | | |
getHeight | public int getHeight()(Code) | | |
isAntialias | public boolean isAntialias()(Code) | | |
isUnderline | public boolean isUnderline()(Code) | | |
|
|