private void prepareCenter() {
        RectF mRectF = new RectF();
        path.computeBounds(mRectF, true);
        center_rect = new VoronoiPoint(mRectF.centerX(), mRectF.centerY());
    }
Voronoi region allows to work with each diagram element

Created by quatja
vorolay/src/main/java/quatja/com/vorolay/diagram/VoronoiRegion.java