• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how can i use setclip() method

 
Bk Jacky
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
plz tell me with example how can i use setClip() method with a file having multiple picture.
 
Ramender Mall
Ranch Hand
Posts: 311
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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().....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic