Seadragon.ControlAnchor enumeration

Version - Back to Seadragon Ajax Library

Overview

Used to define which corner a control is anchored to. This allows newly added controls to be placed without overlapping previous controls, and for controls to stretch and shrink as another control is resized.

Values

Name Description
NONE The control is not anchored; it must be absolutely positioned through CSS.
TOP_LEFT The control is anchored to the top-left corner of the viewer.
TOP_RIGHT The control is anchored to the top-right corner of the viewer.
BOTTOM_RIGHT The control is anchored to the bottom-right corner of the viewer.
BOTTOM_LEFT The control is anchored to the bottom-left corner of the viewer.