Kanzi  3.9.8
Kanzi Engine Java API
FontHintingPreference Enum Reference

Font hinting options. More...

Inheritance diagram for FontHintingPreference:
[legend]

Public Member Functions

 FontHintingPreference (int mValue)
 
 FontHintingPreference (FontHintingPreference enum_)
 
int getValue ()
 Returns the integer value of the enumeration constant. More...
 
final int swigValue ()
 

Static Public Member Functions

static FontHintingPreference swigToEnum (int swigValue)
 
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.

Since
Kanzi 3.9.0

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

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.