I read the Calculate Bounding box coordinates from a rotated rectangle to know how to calculate bounding box coordinates from a rotated rectangle. But in a special case as f
You'll probably need something like affine transformation to discover point coordinates. And then using standard geometry formulas calculate the size.