Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 1.0, Flash Player 10 |
This class facilitates drawing of squiggly lines below words for TextField class. TextField class is used to create display objects for text display
and input for Halo TextArea and TextInput components. HaloHighlighter could therefore be used for drawing squiggly lines in these Halo components.
offsetPoint:Point
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 1.0, Flash Player 10 |
Get offset point information for scrollable controls. This is used by the highlighter to move
the squiggly lines as the text scrolls inside the control.
Implementation public function get offsetPoint():Point
public function set offsetPoint(value:Point):void
public function HaloHighlighter(textField:TextField)
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 1.0, Flash Player 10 |
The constructor for HaloHighlighter.
Parameters | textField:TextField — TextField in which to enable highlighting.
|
public function clearSquiggles():void
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 1.0, Flash Player 10 |
Clear all squiggly lines in the TextField.
public function drawSquiggleAt(token:Token):void
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 1.0, Flash Player 10 |
Draw squiggly lines below a given token.
Parameters
| token:Token — Token information of the word to be highlighted.
|
Fri Aug 29 2014, 11:25 AM +10:00