Kanzi  3.9.9
Kanzi Engine Java API
FontWeight Enum Reference

Font weight options. More...

Inheritance diagram for FontWeight:
[legend]

Public Member Functions

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

Static Public Member Functions

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

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 ( int  value)

Constructs a FontWeight of an integer value.

Parameters
valueInteger value to convert to enumeration constant.
FontWeight ( FontWeight  enum_)

Constructs a copy of a FontWeight object.

Parameters
enum_FontWeight to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

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.
final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.
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.