posted 18 years ago
hi,
setClip() method is used for defining a specific region on the canvas where u want your drawing to show effect....
A very simple example would be--->
Effect of the above code would be a small white rectangle on a black background....Dimensions of white rectangle are the same as passed to setClip().....