Methods
Static getWordWrapTextLines
- getWordWrapTextLines(st: string, font: Font, needWidthAlign: boolean, textW: number): string[]
-
Parameters
-
st: string
-
-
needWidthAlign: boolean
-
textW: number
Returns string[]
Static splitString
- splitString(inputString: string, removeControl: boolean): string[]
-
Parameters
-
inputString: string
-
removeControl: boolean
Returns string[]
Static trimEndWhiteSpace
- trimEndWhiteSpace(inputString: string): string
-
Parameters
Returns string
Static trimEndWhiteSpace2
- trimEndWhiteSpace2(inputString: string, removeControl: boolean): string
-
Parameters
-
inputString: string
-
removeControl: boolean
Returns string