Font weight options.
More...
|
| Black =(8) |
| Specifies the font weight Black.
|
|
| Bold =(6) |
| Specifies the font weight Bold.
|
|
| ExtraBold =(7) |
| Specifies the font weight ExtraBold.
|
|
| ExtraLight =(1) |
| Specifies the font weight ExtraLight.
|
|
| Light =(2) |
| Specifies the font weight Light.
|
|
| Medium =(4) |
| Specifies the font weight Medium.
|
|
| Normal =(3) |
| Specifies the font weight Normal.
|
|
| SemiBold =(5) |
| Specifies the font weight SemiBold.
|
|
| Thin =(0) |
| Specifies the font weight Thin.
|
|
◆ FontWeight() [1/2]
Constructs a FontWeight of an integer value.
- Parameters
-
value | Integer value to convert to enumeration constant. |
◆ FontWeight() [2/2]
Constructs a copy of a FontWeight object.
- Parameters
-
enum_ | FontWeight to be copy constructed. |
◆ getValue()
Returns the integer value of the enumeration constant.
- Returns
- Integer value.
Implements Enum.
◆ swigToEnum()
Converts an integer value to the matching enumeration constant.
Used internally by SWIG generated code.
- Parameters
-
swigValue | Integer value to convert to enumeration constant. |
- Returns
- Enumeration constant matching the integer value.
◆ swigValue()
Returns the integer value of the enumeration constant.
Used internally by SWIG generated code.
- Returns
- Integer value.
◆ toEnum()
Converts an integer value to the matching enumeration constant.
- Parameters
-
value | Integer value to convert to enumeration constant. |
- Returns
- Enumeration constant matching the integer value.