06-28-2012 09:51 AM
I am new to Blackberry. Could your please help me out Drawing text center of Diagnal to screen
Solved! Go to Solution.
06-28-2012 12:34 PM - edited 06-28-2012 12:35 PM
Hi @ramachandra9345
Welcome to the forum.
I think that you would have to create a bitmap and write the text on it and then rotate the bitmap.
You can create a new Bitmap using the Bitmap class and then create a Graphics instance with your bitmap:
Bitmap bitmap = new Bitmap(...);
Graphics g = Graphics.create(bitmap);
g.drawText(...);
For rotating the bitmap, take a look here:
http://supportforums.blackberry.com/t5/Java-Develo
Hope that helps,
E.
06-29-2012 03:48 AM
Its working fine.Thanks dude