Class
zebkit.draw.DecoratedTextRender
extends <zebkit.draw.TextRender> |
<zebkit.draw> |
Decorated text render. This decorator allows developer to draw under, over or strike lines over the rendered text.
zebkit.draw.DecoratedTextRender
(text
)
Parameters:
-
text
<String | zebkit.data.TextModel>a text as string or text model object
Inherited methods:
getBottom( )
getLeft( )
getLine(r)
getLineHeight( )
getLines( )
getLineSize(l)
getMaxOffset( )
getPreferredSize( )
getRight( )
getTop( )
getValue( )
invalidate(start, size)
lineWidth(line)
ownerChanged(v)
paint(g, x, y, w, h, c)
paintLine(g, x, y, line, d)
paintSelection(g, x, y, w, h, line, d)
recalc( )
resizeFont(size)
restyleFont(style)
setColor(c)
setFont(f)
setValue(s)
textUpdated(e)
valueWasChanged(o, n)
public
chainable
addDecorations ([decorations] )
Add the given decorations. Parameters:
|
public
chainable
clearDecorations ([decorations] )
Clear the given decorations. Parameters:
|
public
chainable
setDecorations ([decoration] )
Set set of decorations. Parameters:
|
Inherited attributes:
public
String
color
public
String | zebkit.Font
font
public
Integer
lineIndent
protected
zebkit.layout.Layoutable
owner
public
Object
target




public
<Integer>
lineWidth
Line width |