Package | flash.text.engine |
Class | public final class CFFHinting |
Inheritance | CFFHinting Object |
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5, Flash Lite 4 |
Hinting adjusts the display of an outline font so it lines up with the pixel grid. At small screen sizes, hinting produces a clear, legible text for human readers.
Related API Elements
Public Properties
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object |
Public Methods
Method | Defined By | ||
---|---|---|---|
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Public Constants
Constant | Defined By | ||
---|---|---|---|
HORIZONTAL_STEM : String = "horizontalStem" [static]
Fits strong horizontal stems to the pixel grid for improved readability. | CFFHinting | ||
NONE : String = "none" [static]
No hinting is applied. | CFFHinting |
Constant Detail
HORIZONTAL_STEM | Constant |
public static const HORIZONTAL_STEM:String = "horizontalStem"
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5, Flash Lite 4 |
Fits strong horizontal stems to the pixel grid for improved readability.
This constant is used in setting the cffHinting
property of the
FontDescription class. Use the syntax CFFHinting.HORIZONTAL_STEM
.
Note: Not recommended for animation.
Related API Elements
NONE | Constant |
public static const NONE:String = "none"
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5, Flash Lite 4 |
No hinting is applied. Horizontal stems in the glyphs are not forced to the pixel grid.
This constant is used in setting the cffHinting
property of the
FontDescription class. Recommended setting for animation or for large font sizes.
Use the syntax CFFHinting.NONE
.
Related API Elements
Thu Dec 4 2014, 05:50 PM -08:00