public final class TextAlign extends java.lang.Object implements StyleElement
Modifier and Type | Class and Description |
---|---|
static class |
TextAlign.Type
Type of text align: right,center,justify,initial;
|
Constructor and Description |
---|
TextAlign()
Creates: "text-align: initial"
|
TextAlign(TextAlign.Type type)
Creates text align with given
TextAlign.Type |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
draw()
All descendant have to implement how to draw it
|
TextAlign.Type |
getType() |
public TextAlign()
public TextAlign(TextAlign.Type type)
TextAlign.Type
type
- of text align.public TextAlign.Type getType()
public java.lang.String draw()
StyleElement
draw
in interface StyleElement