public final class FontStyle extends java.lang.Object implements StyleElement
Modifier and Type | Class and Description |
---|---|
static class |
FontStyle.Type
Type of font style
|
Constructor and Description |
---|
FontStyle()
Creates "font-style:initial".
|
FontStyle(FontStyle.Type type)
Creates font style with
FontStyle.Type . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
draw()
All descendant have to implement how to draw it
|
FontStyle.Type |
getType() |
public FontStyle()
public FontStyle(FontStyle.Type type)
FontStyle.Type
.type
- of font stylepublic FontStyle.Type getType()
public java.lang.String draw()
StyleElement
draw
in interface StyleElement