Re: How to make dotted strokes on a canvas?

2013-03-18 Thread Kody
Hm ok that might be a nice solution for a straight line. But what about curves? What if I eg create a Rectangle with round corners (which I want in the long). I thought there might be something to tell a line it should always be dashed/spaced. Cause the link you provided is probably not adaptable

Re: How to make dotted strokes on a canvas?

2013-03-18 Thread Samyem Tuladhar
http://phrogz.net/tmp/canvas_dashed_line.html On Monday, March 18, 2013 12:52:48 PM UTC-4, membersound wrote: > > Hi, > > how can I set the stroke style when drawing on a canvas? (trying to make > a rectangle with dotted border) > > Looking for something like: context.setBorder("1px dotted blac

How to make dotted strokes on a canvas?

2013-03-18 Thread membersound
Hi, how can I set the stroke style when drawing on a canvas? (trying to make a rectangle with dotted border) Looking for something like: context.setBorder("1px dotted black"); -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscri