setRotated implementation