Class
zebkit.draw.BaseTextRender
extends <zebkit.draw.Render> |
<zebkit.draw> |
Base class to build text render implementations.
public | <Integer> | getLineHeight ( ) |
public | void | ownerChanged (v) |
public | void | resizeFont (size) |
public | void | restyleFont (style) |
public | void | setColor (c) |
public | void | setFont (f) |
public | void | valueWasChanged (o, n) |
Inherited methods:
getBottom( )
getLeft( )
getPreferredSize( )
getRight( )
getTop( )
getValue( )
paint(g, x, y, w, h, c)
setValue(o)
public
<Integer>
getLineHeight ( )
Get line height
Returns:
<Integer>
a line height |
public
void
ownerChanged (v )
Called whenever an owner UI component has been changed Parameters:
|
public
chainable
resizeFont (size )
Resize font Parameters:
|
public
chainable
setFont (f )
Set the rendered text font. Parameters:
|