element |
Element
|
|
|
|
location |
OpenSeadragon.Point
|
OpenSeadragon.Rect
|
|
|
The
location of the overlay on the image. If a OpenSeadragon.Point
is specified, the overlay will be located at this location with respect
to the placement option. If a OpenSeadragon.Rect is specified,
the overlay will be placed at this location with the corresponding width
and height and placement TOP_LEFT. |
placement |
OpenSeadragon.Placement
|
<optional>
|
OpenSeadragon.Placement.TOP_LEFT
|
Defines what part of the overlay should be at the specified options.location |
onDraw |
OpenSeadragon.Overlay.OnDrawCallback
|
<optional>
|
|
|
checkResize |
Boolean
|
<optional>
|
true
|
Set to false to avoid to
check the size of the overlay every time it is drawn in the directions
which are not scaled. It will improve performances but will cause a
misalignment if the overlay size changes. |
width |
Number
|
<optional>
|
|
The width of the overlay in viewport
coordinates. If specified, the width of the overlay will be adjusted when
the zoom changes. |
height |
Number
|
<optional>
|
|
The height of the overlay in viewport
coordinates. If specified, the height of the overlay will be adjusted when
the zoom changes. |
rotationMode |
Boolean
|
<optional>
|
OpenSeadragon.OverlayRotationMode.EXACT
|
How to handle the rotation of the viewport. |