I am trying to draw a line two pixels wide. How can I do this?
+3
A:
There is no method to set the width of your line. You do have two options though:
1) If your line is horizontal/vertical, then you can use fillRect to draw your lines.
2) You can draw multiple lines offset by a pixel in the x or y direction to make the appearance of a thicker line.
They may not be ideal, but they get the job done.
Fostah
2010-06-29 12:41:22
Yep, this is pretty much the only way on Blackberry. Its pretty ridiculous.
paullb
2010-06-30 03:27:00