shadows/framework/src/main/java/org/robolectric/shadows/CachedPathIteratorFactory.java
private static void getShapeEndPoint(int type, float[] coords, float[] point) {
    // start index of the end point for the segment type
    int pointIndex = (getNumberOfPoints(type) - 1) * 2;
    point[0] = coords[pointIndex];
    point[1] = coords[pointIndex + 1];
  }
private static void getShapeEndPoint(int type, float[] coords, float[] point) {
    // start index of the end point for the segment type
    int pointIndex = (getNumberOfPoints(type) - 1) * 2;
    point[0] = coords[pointIndex];
    point[1] = coords[pointIndex + 1];
  }
private static void getShapeEndPoint ( int type , float [ ] coords , float [ ] point ) { // start index of the end point for the segment type int pointIndex = ( getNumberOfPoints ( type ) - 1 ) * 2 ; point [ 0 ] = coords [ pointIndex ] ; point [ 1 ] = coords [ pointIndex + 1 ] ; }
Returns the end point of a given segment

@param type the segment type
@param coords the segment coordinates array
@param point the return array where the point will be stored
Returns the end point of a given segment