Rectangle closeButtonBounds = computeCloseButtonBounds(item, boundsNow);
Transform transform = new Transform(display);
if (placement.isRotateAll()) {
transform.translate(closeButtonBounds.x, closeButtonBounds.y);
if (placement == Placement.LEFT_ROTATE_ALL) {
transform.translate(0, closeButtonBounds.height);
transform.rotate(-90);
} else if (placement == Placement.RIGHT_ROTATE_ALL) {