// Resize Handle //
///////////////////
RectangularShape r1 = (RectangularShape) geometry.getRect().clone();
// translating the grab handle
grabHandle.translate(dx, dy);
// transform the child roi
RectangularShape r2 = geometry.getRect();
double angle = geometry.getRotateAngle();
af.concatenate(AffineTransform.getRotateInstance(angle, cx, cy));