tags:

views:

34

answers:

1

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
Yep, this is pretty much the only way on Blackberry. Its pretty ridiculous.
paullb