[ Home | Feed | Twitter | Vector Art | Ascii Art | Tutorials ]
TextLayout objects among other things can be used to draw styled character data. The draw() method of the object can be used to draw the rendered text to a Graphics2D object. But the x and y co-ordinates passed to draw() is not the position of the top left corner as would be expected. The x and y coordinate is the position of the origin.
Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: java