Kanzi 3.9.10
FontStyle Enum Reference

Font style options. More...

Inheritance diagram for FontStyle:
[legend]

Public Member Functions

 FontStyle (FontStyle enum_)
 Constructs a copy of a FontStyle object.
 
 FontStyle (int value)
 Constructs a FontStyle 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 FontStyle swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant.
 
static FontStyle toEnum (int value)
 Converts an integer value to the matching enumeration constant.
 

Public Attributes

 Italic =(1)
 Specifies italic font style.
 
 Normal =(0)
 Specifies normal font style.
 

Detailed Description

Font style options.

Constructor & Destructor Documentation

◆ FontStyle() [1/2]

FontStyle ( int value)

Constructs a FontStyle of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ FontStyle() [2/2]

FontStyle ( FontStyle enum_)

Constructs a copy of a FontStyle object.

Parameters
enum_FontStyle 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 FontStyle 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 FontStyle 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.