how can i increase draw line width in j2me while drawing line in midlet canvas?
how can i increase draw line width in j2me while drawing line in midlet canvas?
Hi!
Lines you draw are 1 pixel thick. You need to draw adjacent lines.
Here is a good article about these things:
http://www.ibm.com/developerworks/ja.../section3.html
Best Regards,
Marko
[FONT="Comic Sans MS"][COLOR="Blue"][/COLOR][I]Marko Lumivuori
Technical Support
+358 40 8019330
[email]marko.lumivuori@nokia.com[/email][/I][/FONT]
There is no API available to draw the wider lines as per the need, rather you need to draw the parallel lines to the first one.
This is how you can draw the bold line on the Y axis...please check the same.
Height is stand for the canvas height.PHP Code:g.setStrokeStyle(Graphics.SOLID);
g.drawLine(20, 24, 20, height - 20);
g.drawLine(20, 25, 20, height - 19);
g.drawLine(20, 26, 20, height - 18);
Thanks with Regards,
R a j - The K e r n e l
Join Delhi-NCR Nokia Developer's Community,