This documentation method says that:
x The x-coordinate of origin for where to draw the text y The y-coordinate of origin for where to draw the text
But he says nothing about the direction this text is drawn. I know that the text is pulled up from the source, but when I give the following arguments, my text is truncated:
canvas.drawText(displayText, 0, canvas.getHeight(), textPaint);
Also, suppose I use Align.LEFT (this means that the text is drawn to the right of the beginning of x, y)
So what should be the correct arguments (assuming I don't want to use fixed numbers)?
source share