In fact, after doing some further work on this, this is what I have found :

The simplest way of achieving this is to 

   1. Create the path object
   2. Set the fill type to  Path.FillType.WINDING .
   3. "draw" the outline segments using lineTo, cubicTo, etc, ensuring that 
   the outline closes itself.
   4. "draw the inner holes, each one using a different direction. ie: if 
   the outline was drawn clockwise, then the first hole must be 
   anti-clockwise, the second clockwise, etc...
   5. Draw the path on the canvas with  Canvas.drawPath(...) .
   

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