min
//double[][] corners = [//[-halfRotatedWidth + offsetX, -halfRotatedHeight + offsetY],//top-left//[halfRotatedWidth + offsetX, -halfRotatedHeight + offsetY],//top-right//[halfRotatedWidth + offsetX, halfRotatedHeight + offsetY],//bottom-right//[-halfRotatedWidth + offsetX, halfRotatedHeight + offsetY],//bottom-left//];