Seadragon.OverlayPlacement enumeration

Version - Back to Seadragon Ajax Library

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

Name Description
CENTER The overlay's center is the point of placement.
TOP_LEFT The overlay's top-left corner is the point of placement.
TOP The center of the overlay's top edge is the point of placement.
TOP_RIGHT The overlay's top-right corner is the point of placement.
RIGHT The middle of the overlay's right edge is the point of placement.
BOTTOM_RIGHT The overlay's bottom-right corner is the point of placement.
BOTTOM The center of the overlay's bottom edge is the point of placement.
BOTTOM_LEFT The overlay's bottom-left corner is the point of placement.
LEFT The middle of the overlay's left edge is the point of placement.