Overview
Specifies different font weights which can be used when searching for a font on the system.
Profile: common
Field Summary
access | name | type | description |
---|---|---|---|
public static final | BOLD | FontWeight |
represents bold font weight. |
public static final | DEMI_BOLD | FontWeight |
represents demi-bold font weight. |
public static final | DEMI_LIGHT | FontWeight |
represents demi-light font weight. |
public static final | EXTRA_BOLD | FontWeight |
represents extra-bold font weight. |
public static final | EXTRA_LIGHT | FontWeight |
represents exgtra-light font weight. |
public static final | HEAVY | FontWeight |
represents bold font weight. |
public static final | LIGHT | FontWeight |
represents light font weight. |
public static final | MEDIUM | FontWeight |
represents medium font weight. |
public static final | REGULAR | FontWeight |
represents regular font weight. |
public static final | SEMI_BOLD | FontWeight |
represents semi-bold font weight. |
public static final | ULTRA_BOLD | FontWeight |
represents ultra-bold font weight. |
Inherited Variables
Method Summary
- public static FontWeight findByName(java.lang.String name)
- public static FontWeight valueOf(java.lang.String name)
- public static FontWeight[] values()