- text
- The text to be drawn
- start
- The index of the first character in text to draw
- end
- (end - 1) is the index of the last character in text to draw
- x
- The x-coordinate of the origin of the text being drawn
- y
- The y-coordinate of the origin of the text being drawn
- paint
- The paint used for the text (e.g. color, size, style)
Draw the text, with origin at (x,y), using the specified paint. The origin is interpreted based on the Align setting in the paint.