Skip to main content

Seadragon.OverlayPlacement class

Version 0.8.8 - Back to Seadragon Ajax API Reference

Overview

For overlays that do not scale with the content, describes what part of the overlay is actually placed at the overlay's point of placement. For example, a cross-hair overlay should be placed at its center, whereas a pin overlay may need to be placed at its bottom-right corner.

Values

NameDescription
CENTERThe overlay's center is the point of placement.
TOP_LEFTThe overlay's top-left corner is the point of placement.
TOPThe center of the overlay's top edge is the point of placement.
TOP_RIGHTThe overlay's top-right corner is the point of placement.
RIGHTThe middle of the overlay's right edge is the point of placement.
BOTTOM_RIGHTThe overlay's bottom-right corner is the point of placement.
BOTTOMThe center of the overlay's bottom edge is the point of placement.
BOTTOM_LEFTThe overlay's bottom-left corner is the point of placement.
LEFTThe middle of the overlay's left edge is the point of placement.