public static final class CSS20Attribute.CSSWeightValue extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static CSS20Attribute.CSSWeightValue |
BOLD
The weight value of
BOLD is identical to a weight value of
700 as per the CSS specifications. |
static CSS20Attribute.CSSWeightValue |
NORMAL
The weight value of
NORMAL is identical to a weight value of
400 as per the CSS specifications. |
static CSS20Attribute.CSSWeightValue |
W100 |
static CSS20Attribute.CSSWeightValue |
W200 |
static CSS20Attribute.CSSWeightValue |
W300 |
static CSS20Attribute.CSSWeightValue |
W400 |
static CSS20Attribute.CSSWeightValue |
W500 |
static CSS20Attribute.CSSWeightValue |
W600 |
static CSS20Attribute.CSSWeightValue |
W700 |
static CSS20Attribute.CSSWeightValue |
W800 |
static CSS20Attribute.CSSWeightValue |
W900 |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue()
Return the numerical value of the weight.
|
static CSS20Attribute.CSSWeightValue |
parse(String text)
Parse the text and return the CSSWeightValue object which is represented if any.
|
String |
toString() |
public static final CSS20Attribute.CSSWeightValue W100
public static final CSS20Attribute.CSSWeightValue W200
public static final CSS20Attribute.CSSWeightValue W300
public static final CSS20Attribute.CSSWeightValue W400
public static final CSS20Attribute.CSSWeightValue W500
public static final CSS20Attribute.CSSWeightValue W600
public static final CSS20Attribute.CSSWeightValue W700
public static final CSS20Attribute.CSSWeightValue W800
public static final CSS20Attribute.CSSWeightValue W900
public static final CSS20Attribute.CSSWeightValue NORMAL
NORMAL is identical to a weight value of
400 as per the CSS specifications.public static final CSS20Attribute.CSSWeightValue BOLD
BOLD is identical to a weight value of
700 as per the CSS specifications.public int getValue()
public static CSS20Attribute.CSSWeightValue parse(String text)
text - textual representation of the weightCopyright © 2010 - 2020 Adobe. All Rights Reserved