Kanzi  3.9.9
Kanzi Engine Java API
FontHintingPreference Enum Reference

Font hinting options. More...

Inheritance diagram for FontHintingPreference:
[legend]

Public Member Functions

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

Public Attributes

 AutoHinting =(2)
 Enable hinting. More...
 
 NativeHinting =(1)
 Enable hinting. More...
 
 NoHinting =(0)
 Render text without hinting the outlines of glyphs.
 

Detailed Description

Font hinting options.


Hinting refers to the adjustments in the outline-filling process of a glyph,
so that the glyph lines up within the rasterized grid.

Constructor & Destructor Documentation

FontHintingPreference ( int  value)

Constructs a FontHintingPreference of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

Constructs a copy of a FontHintingPreference object.

Parameters
enum_FontHintingPreference to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

static FontHintingPreference 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 FontHintingPreference 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.

Member Data Documentation

AutoHinting =(2)

Enable hinting.

Prefer auto-hinter of the rasterizer over the native hinter of the font.

NativeHinting =(1)

Enable hinting.

Prefer native hinter of the font over the auto-hinter of the rasterizer.