src/util/segmentation/fillShape.js
/**
 * Fill all pixels labeled with the activeSegmentIndex,
 * inside the region defined by the shape.
 * @param  {Object} evt The Cornerstone event.
 * @param {Object}  operationData An object containing the `pixelData` to
 *                          modify, the `segmentIndex` and the `points` array.
 * @param {Object} pointInShape - A function that checks if a point, x,y is within a shape.
 * @param {number[]} topLeft The top left of the bounding box.
 * @param {number[]} bottomRight The bottom right of the bounding box.
 * @returns {null}
 */
Fill all pixels labeled with the activeSegmentIndex,
inside the region defined by the shape.
@param  {Object} evt The Cornerstone event.
Fill all pixels labeled with the activeSegmentIndex inside the region defined by the shape . @param { Object } evt The Cornerstone event .
function fillInsideShape(
  evt,
  operationData,
  pointInShape,
  topLeft,
  bottomRight
) {
  fillShape(evt, operationData, pointInShape, topLeft, bottomRight, 'inside');
}
function fillInsideShape ( evt , operationData , pointInShape , topLeft , bottomRight ) { fillShape ( evt , operationData , pointInShape , topLeft , bottomRight , 'inside' ) ; }
Fill all pixels labeled with the activeSegmentIndex,
 inside the region defined by the shape.
Fill all pixels labeled with the activeSegmentIndex inside the region defined by the shape .