How to achieve effect like on the pic below using AffineTransform or something on AffineTransform? Or any other effect/transform in Java that I can use on BufferedImage ?

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The effect you want to achieve is called Skewing
Take a look at the Skew section @ http://www.javaxt.com/javaxt-core/javaxt.io.Image/
First of all download the javaxt api.
The
Imageclass has a public constructor which acceptsBufferedImageas an argument , see belowsetCorners is sed to skew an image by updating the corner coordinates. Coordinates are supplied in clockwise order starting from the upper left corner.