public class FontSize extends StyleElement
| Modifier and Type | Class and Description |
|---|---|
static class |
FontSize.Type
Font size type
|
| Constructor and Description |
|---|
FontSize() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
draw()
All descendant have to implement how to draw it
|
protected StyleElementType |
getElementType() |
Length |
getLength() |
LineHeight |
getLineHeight() |
FontSize.Type |
getType() |
FontSize |
setLength(Length length) |
FontSize |
setLineHeight(LineHeight lineHeight) |
FontSize |
setType(FontSize.Type type) |
drawClass, drawScript, getRoot, setRoot, toStringprotected StyleElementType getElementType()
getElementType in class StyleElementprotected java.lang.String draw()
StyleElementdraw in class StyleElementpublic FontSize.Type getType()
public Length getLength()
public LineHeight getLineHeight()
public FontSize setLineHeight(LineHeight lineHeight)
lineHeight - the lineHeight to setpublic FontSize setLength(Length length)
length - the length to setpublic FontSize setType(FontSize.Type type)
type - the type to set