public final class TextDecoration extends java.lang.Object implements StyleElement
| Modifier and Type | Class and Description |
|---|---|
static class |
TextDecoration.Type
Type of text decoration:
none,underline,overline,line-through,blink,initial.
|
| Constructor and Description |
|---|
TextDecoration()
Creates: "text-decoration: initial"
|
TextDecoration(TextDecoration.Type type)
Creates text decoration with given
TextDecoration.Type |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
draw()
All descendant have to implement how to draw it
|
TextDecoration.Type |
getType() |
public TextDecoration()
public TextDecoration(TextDecoration.Type type)
TextDecoration.Typetype - of text decorationpublic java.lang.String draw()
StyleElementdraw in interface StyleElementpublic TextDecoration.Type getType()