Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

is it possible to change the shape of the image

 
sankar ganesh
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i copied a specified region from an image that is drawn in the canvas screen and append that copied region in another imagebut what i want is i want that copied image to be in oval shape.I used this method to copy the particular region frm the image
Image ima=Image.createImage(originalimage,x,y,w,h,Sprite_TRANS_NONE);
x-xpos
y-ypos
w-width of the arc
h-height of the arc
can anyone tell me the soln if possible
thanx a lot in advance
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!