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