PDA

View Full Version : Line color thickness and style


stuckhere90
03-02-2008, 04:35 PM
I can easlily draw a line in Open Laszlo, but am not sure how to do 3 things:

(1) Change the line thinkness
(2) Change the line color
(3) Change the line style (like to a dashed line)

If someone could explain how to do any of these briefly or send me to a doc, I would appreciate it.

Thanks.

kampfkolosso
03-02-2008, 10:26 PM
Ok, let's see what the drawview can do for you:

Oh, there it is:
drawview.lineWidth for line thickness, drawview.strokeStyle for line color;

Hm, line style will be your own duty - i think...

stuckhere90
03-03-2008, 11:34 AM
Thank you so much!!