function createNewMeasurement() {
  // Create the measurement data for this tool
  var measurementData = {
    visible: true,
    active: true,
    invalidated: true,
    color: undefined,
    handles: [],
    textBox: {
      active: false,
      hasMoved: false,
      movesIndependently: false,
      drawnIndependently: true,
      allowedOutsideImage: true,
      hasBoundingBox: true
    }
  };

  return measurementData;
}
/**
* Initialises a new freehand data object
*
* @return {Object} measurementData - data object
*/
Initialises a new freehand data object
Initialises a new freehand data object
function createNewMeasurement() {
  var measurementData = {
    visible: true,
    active: true,
    invalidated: true,
    color: undefined,
    handles: [],
    textBox: {
      active: false,
      hasMoved: false,
      movesIndependently: false,
      drawnIndependently: true,
      allowedOutsideImage: true,
      hasBoundingBox: true
    }
  };
  return measurementData;
}
function createNewMeasurement ( ) { var measurementData = { visible : true , active : true , invalidated : true , color : undefined , handles : [ ] , textBox : { active : false , hasMoved : false , movesIndependently : false , drawnIndependently : true , allowedOutsideImage : true , hasBoundingBox : true } } ; return measurementData ; }
Initialises a new freehand data object
Initialises a new freehand data object
// Create the measurement data for this tool