Get the current image view rectangle
The current screen viewport
Set the screen viewport
The viewport
Gets the static image XY coordinates of a screen coordinate
The screen X coordinate in pixels
The screen Y coordinate in pixels
Use absolute browser window coordinates
Allow to go out of image bounds
The relative image XY coordinates
Sets current coordinates as the center of the screen
The X Coordinate
The Y Coordinate
The scale to set
Get the current image coordinates at the center of the screen
Gets the static screen XY coordinates of an image coordinate
The image X coordinate
The image Y coordinate
Use absolute browser window coordinates
The screen XY coordinates in pixels
Get the current image scale
Get the scale when the image would cover the screen
Get the minimum scale
The minimum scale
Sets the minimum scale
The minimum scale to set
Returns true when the camera is zoomed in to the max
Returns true when the camera is fully zoomed out
Limit camera navigation boundaries
The viewport limit
Limit camera navigation boundaries
The viewport width to limit to
The viewport height to limit to
Fly to a specific view
The viewport to fly to
A forced duration in ms of the animation
A non-default camera speed
Set the starting animation progress percentage
Base the progress override on this starting view
Zoom out and in during the animation
Promise when the animation is done
Fly to a full view of the image
A forced duration in ms of the animation
A non-default camera speed
Promise when the animation is done
Fly to a screen-covering view of the image
A forced duration in ms of the animation
A non-default camera speed
Promise when the animation is done
Fly to the specific coordinates
The X, Y and scale coordinates to fly to
A forced duration in ms of the animation
A non-default camera speed
Promise when the animation is done
Do a "jump" animation to the specific view
The viewport to fly to
A forced duration in ms of the animation
A non-default camera speed
Promise when the animation is done
Do a zooming animation
The amount to zoom
A forced duration in ms of the animation
Screen pixel X-coordinate as zoom focus
Screen pixel Y-coordinate as zoom focus
A non-default camera speed
Can zoom outside of the image boundaries
Promise when the zoom animation is done
Zoom out a factor
The amount to zoom in
A forced duration in ms of the animation
A non-default camera speed
Promise when the zoom animation is done
Zoom out a factor
The amount to zoom out
A forced duration in ms of the animation
A non-default camera speed
Promise when the zoom animation is done
Pan relative pixels
The horizontal number of pixels to pan
The vertical number of pixels to pan
An optional duration
Stop any animation
Get the current direction facing in 360 mode in radians
Sets the 360 viewing direction in radians
The direction in radians
Optional pitch in radians
Get the current direction pitch
The current pitch in radians
Set virtual offset margins applied to all viewports
The offset width in pixels
The offset height in pixels
Generated using TypeDoc
The virtual Micrio camera
Marcel Duin [email protected]
Q42 Internet BV, Micrio, 2015 - 2023
https://micr.io/ , https://q42.nl/en/