Class: MonitoredAreaViewAnotation

MonitoredAreaViewAnotation

View annotation

Extends

  • Component

Methods

actualizeScreenshot()

Source:

clearActualZone()

Source:

componentDidMount()

Source:

componentDidUpdate(prevProps, prevState, snapshot)

Parameters:
Name Type Description
prevProps
prevState
snapshot
Source:

displayToCanvas(coords) → {Object}

converts from displayed canvas coordinates to logical canvas coordinates
Parameters:
Name Type Description
coords
Source:
Returns:
Type
Object

displayToImage(coords) → {Object}

converts from displayed canvas coordinates to image coordinates
Parameters:
Name Type Description
coords
Source:
Returns:
Type
Object

imageToDisplay(coords) → {Object}

converts from image coordinates to displayed canvas coordinates
Parameters:
Name Type Description
coords
Source:
Returns:
Type
Object

onCanvasClick(event)

Parameters:
Name Type Description
event
Source:

onImageError()

Source:

onImageLoaded()

Source:

render() → {*}

Source:
Returns:
Type
*

saveActualZone()

Source:

showSpinner()

code source: https://codepen.io/reneras/pen/HFrmC edited size of spinner
Source: