I can draw polygons with canvas.drawVertices, but I can not fill them.
I have set Paint.Style.FILL on the paint object,but the polygon
doesn't get filled. Why doesn't the polygon get filled? This is my
code:

mLinePaint2 = new Paint();
mLinePaint2.setARGB(255, 255, 0, 0);
mLinePaint2.setStyle(Paint.Style.FILL);

canvas.drawVertices(Canvas.VertexMode.TRIANGLES, verts.length, verts,
0, null, 0, null, 0, null, 0, 0, mLinePaint2);

-- 
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

Reply via email to