Class Index | File Index

Classes


Class createjs.WordBreaker


Defined in: word_breaker.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
A class that breaks text into words.
Field Summary
Field Attributes Field Name and Description
<static>  
createjs.WordBreaker.FULLWIDTH_ALPHABETS
Whether to support full-width alphabet forms (U+FF00.
<static>  
createjs.WordBreaker.IDEOGRAPHIC_CHARACTERS
Whether to support CJK ideographic characters (U+3000.
<static>  
createjs.WordBreaker.PUNCTUATION_CHARACTERS
Whether to support punctuation characters (U+2000.
Method Summary
Method Attributes Method Name and Description
<static>  
createjs.WordBreaker.breakText(text)
Breaks text into words.
Class Detail
createjs.WordBreaker()
A class that breaks text into words.
Field Detail
<static> createjs.WordBreaker.FULLWIDTH_ALPHABETS
Whether to support full-width alphabet forms (U+FF00...U+FFFF).

<static> createjs.WordBreaker.IDEOGRAPHIC_CHARACTERS
Whether to support CJK ideographic characters (U+3000...U+ABFF).

<static> createjs.WordBreaker.PUNCTUATION_CHARACTERS
Whether to support punctuation characters (U+2000...U+20FF).
Method Detail
<static> {Array.} createjs.WordBreaker.breakText(text)
Breaks text into words. This method splits text into a list of text segments where we can insert a line break. In brief, this method implements a subset of Unicode UAX #29.
Parameters:
{string} text
Returns:
{Array.}

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Oct 04 2016 17:11:30 GMT+0900 (JST)