static float getRectCenterX(float[] points) {
    return (getRectRight(points) + getRectLeft(points)) / 2f;
  }
Get horizontal center value of the bounding rectangle of the given points.
core/src/main/java/com/theartofdev/edmodo/cropper/BitmapUtils.java