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.

Constructor:
zebkit.draw.DecoratedTextRender (text)

Parameters:




public chainable addDecorations ([decorations])

Add the given decorations.


Parameters:
  • [decorations] <String> (*..n)

    decorations IDs.

public chainable clearDecorations ([decorations])

Clear the given decorations.


Parameters:
  • [decorations] <String> (*..n)

    decorations IDs.

public chainable setDecorations ([decoration])

Set set of decorations.


Parameters:
  • [decoration] <String> (*..n)

    set of decorations.



Inherited attributes:
public String color    public String | zebkit.Font font    public Integer lineIndent    protected zebkit.layout.Layoutable owner    public Object target   



public <String> lineColor

Decoration line color

public <Integer> lineWidth

Line width