Never tried them before, but these might do it: http://developer.android.com/intl/fr/reference/android/graphics/DashPathEffect.html http://developer.android.com/intl/fr/reference/android/graphics/Paint.html#setPathEffect%28android.graphics.PathEffect%29
On Jan 13, 4:21 pm, Matt Oakes <[email protected]> wrote: > Hi, > > I'm looking for away to draw a dotted or dashed line using the android > 2d drawing API. So far I have te following code: > > Paint gridLines = new Paint(); > gridLines.setColor(getResources().getColor(R.color.grid_lines)); > canvas.drawLine(boardOffsetLeft, boardOffsetTop, boardOffsetLeft, > boardOffsetTop); > > Is there something I can add to it to change the line to a dotted line > or can I do it a completely different way? > > Thank in advance > > Matt
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

