Kanzi 3.9.10
FontWeight Enum Reference

Font weight options. More...

Inheritance diagram for FontWeight:
[legend]

Public Member Functions

 FontWeight (FontWeight enum_)
 Constructs a copy of a FontWeight object.
 
 FontWeight (int value)
 Constructs a FontWeight of an integer value.
 
int getValue ()
 Returns the integer value of the enumeration constant.
 
final int swigValue ()
 Returns the integer value of the enumeration constant.
 

Static Public Member Functions

static FontWeight swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant.
 
static FontWeight toEnum (int value)
 Converts an integer value to the matching enumeration constant.
 

Public Attributes

 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.
 

Detailed Description

Font weight options.

Constructor & Destructor Documentation

◆ FontWeight() [1/2]

FontWeight ( int value)

Constructs a FontWeight of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ FontWeight() [2/2]

Constructs a copy of a FontWeight object.

Parameters
enum_FontWeight to be copy constructed.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ swigToEnum()

static FontWeight swigToEnum ( int swigValue)
static

Converts an integer value to the matching enumeration constant.

Used internally by SWIG generated code.

Parameters
swigValueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.

◆ swigValue()

final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.

◆ toEnum()

static FontWeight toEnum ( int value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.