Transform a rectangle to a specific shape using java -
is there way transform rectangle shape shown in image..?
i have tried every way can using affinetransform this. couldn't the expected result. want make sure impossible task or there way this..
affine transformation definition preserves points, straight lines , planes.
so can @ best transform rectangle rotated parallelogram @ best (opposite lines remain parallel).
to achieve more complex shapes, need more general transformation projective transformation (also known homography) (affine transformation special kind of projective transformation).