Takes some text and lays it out as a block of lines.
Check the algorithm to split the lines at layoutLines
IMPORTANT: Set the font and other styles on the canvas context before calling this function, as the measurements are based on the current styles.
Generated using TypeDoc
Takes some text and lays it out as a block of lines.
Check the algorithm to split the lines at layoutLines
IMPORTANT: Set the font and other styles on the canvas context before calling this function, as the measurements are based on the current styles.