public final class FontWeight extends java.lang.Object implements StyleElement
| Modifier and Type | Class and Description |
|---|---|
static class |
FontWeight.Type
Font weight type
|
| Constructor and Description |
|---|
FontWeight()
Creates "font-weight:normal"
|
FontWeight(FontWeight.Type type)
Creates font weight with
FontWeight.Type. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
draw()
All descendant have to implement how to draw it
|
FontWeight.Type |
getType() |
public FontWeight()
public FontWeight(FontWeight.Type type)
FontWeight.Type.type - of font weightpublic java.lang.String draw()
StyleElementdraw in interface StyleElementpublic FontWeight.Type getType()