Android Question Draw iregular shapes (canvas and clip options) ?


Well-Known Member
Licensed User
I have 100 iregular shapes that could not be defined by lines, arcs or curves using canvas path.
To have a nice color scheme I must add color to that shapes.

Instead of changing colors to bitmaps and load 1000 png files to dirAssets there might be a solution to
draw the shape bitmap using canvas and clip options.

Simple isn't it ..?
Q: How do you draw diferent colors iregular shapes ?
shape will be filled with opac color , only the shape will be drawn

here is a sample from www