Class globals canvas api text Text
Functions
appendText
append text to an existing string
enableFast
enable fast setprop-based text writing
enableUpdate
enable reduced property I/O update function
setAlignment
Set alignment @param align String, one of: left-top left-center left-bottom center-top center-center center-bottom right-top right-center right-bottom left-baseline center-baseline right-baseline left-bottom-baseline center-bottom-baseline right-bottom-baseline
setDrawMode
Set draw mode. Binary combination of the values above. Since I have not found a bitwise "or" we have to use a "+" instead. e.g. my_text.setDrawMode(Text.TEXT + Text.BOUNDINGBOX);
setFont
Set font (by name of font file)
setFontSize
Set the font size
setPadding
Set bounding box padding
setText
Set the text
setTextFast
fast, setprop-based text writing template
updateText
reduced property I/O text update template
Variables
TEXT
Enumeration of values for drawing mode: