android - How to strech the rectangle shaped image in the four corners? -
my requirment need select image group of people , need select person or persons , need crop particular selected part of image ,for took rectangle shaped transparent image ,and place rectangle shaped image on actual image want crop , screwed up,i want rectangle image streched pulling @ corners , select actual image ,can 1 me how strech image pulling @ corners
i think need draw bitmap canvas , manage user interactions there. can stretch images size in canvas using
canvas.drawbitmapmesh(bitmap, 1, 1, vertices, 0, null, 0, paint);
change vertices accordingly. see docs
the best way creating custom view , override ondraw , drawing here.
Comments
Post a Comment