I need to draw text of different sizes. however below code only gives choice where to place text not how big it will appear:
g.drawText("bla bla", aX, aY);
Do I have to use method above and then to scale bitmap into preferred height, or is there some other method to do it which i overlooked? Any example ? Thanks!
g.drawText("bla bla", aX, aY, sizeX, sizeY); <---- something like this?
The size of the text is controlled by the font. You can use setFont: