[android-developers] Re: Drawing a dotted line

2009-07-25 Thread Nightwolf
Everything you need is in PathEffects.java of API Demos. mPaint.setPathEffect( new DashPathEffect(new float[] { 15, 5, 8, 5 }, phase) ); On Jul 18, 3:00 pm, karthikr karthik.scintill...@gmail.com wrote: I had a look at the demos but i am not able to find out as to how to draw a dotted

[android-developers] Re: Drawing a dotted line

2009-07-18 Thread karthikr
I had a look at the demos but i am not able to find out as to how to draw a dotted rectangle. Can someone help me out with some example? On Jul 17, 8:57 pm, Peli peli0...@googlemail.com wrote: Have you looked into the API demos? There are a couple of examples of lines with various patterns.

[android-developers] Re: Drawing a dotted line

2009-07-17 Thread Peli
Have you looked into the API demos? There are a couple of examples of lines with various patterns. Peli www.openintents.org On Jul 17, 5:49 pm, karthikr karthik.scintill...@gmail.com wrote: Hi Guys, How do i draw a dotted rectangle on a bitmape. Currently i use the following code, to draw