2011/4/8 a a <harvey.a...@gmail.com>: > I draw a 30 degree line with paint, but it seams not smoothness. How > can i eliminate the sawtooth? > > my code below: > > > > mPaint.setColor(Color.WHITE); > mPaint.setAntiAlias(true); > mPaint.setStrokeCap(Paint.Cap.ROUND); > mPaint.setStyle(Paint.Style.STROKE); > Canvas.drawLine(x1, y1, x2, y2, mPaint); >
That's ok. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en