Point2f derives from FloatPointer, which has functionality for dealing
with native arrays, so we can access the 4 points you're interested in
this way, for example:
Point2f vertices = new Point2f(4);
rotatedRect.points(vertices);
float[] coordinates = new float[8];
vertices.get(coordinates);
Samuel