Package arc.freetype
Enum Class FreeTypeFontGenerator.Hinting
- All Implemented Interfaces:
Serializable
,Comparable<FreeTypeFontGenerator.Hinting>
,Constable
- Enclosing class:
- FreeTypeFontGenerator
Font smoothing algorithm.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionStrong hinting with crisp edges at the expense of shape fidelity.Average hinting.Light hinting with fuzzy edges, but close to the original shape.Strong hinting with crisp edges at the expense of shape fidelityAverage hintingDisable hinting.Light hinting with fuzzy edges, but close to the original shape -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static FreeTypeFontGenerator.Hinting[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
none
Disable hinting. Generated glyphs will look blurry. -
slight
Light hinting with fuzzy edges, but close to the original shape -
medium
Average hinting -
full
Strong hinting with crisp edges at the expense of shape fidelity -
autoSlight
Light hinting with fuzzy edges, but close to the original shape. Uses the FreeType auto-hinter. -
autoMedium
Average hinting. Uses the FreeType auto-hinter. -
autoFull
Strong hinting with crisp edges at the expense of shape fidelity. Uses the FreeType auto-hinter.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-