drawPosText() in android.graphics.Canvas, What is origin?
- by vladikoff
drawPosText(char[] text, int index,
int count, float[] pos, Paint paint)
Draw the text in the array, with each
character's origin specified by the
pos array.
Does anyone know where exactly does drawPosText consider the "origin" to be, since you are specifying "origin" as coordinate pairs; i.e., is it bottom-left of character, center, what?
Also how does drawPosText calculate character height when it draws?