Skip to main content

Seadragon.DisplayRect class

Version 0.8.8 - Back to Seadragon Ajax API Reference

Overview

A class that represents a display rectangle, used by the Deep Zoom file format. This class extends the Seadragon.Rect class to include the minimum and maximum tile level.

Constructors

SignatureDescription
Seadragon.DisplayRect(x, y, width, height, minLevel, maxLevel)Creates a DisplayRect for the given point, size and levels. Note that minLevel and maxLevel are both inclusive.

Additional Properties

NameTypeDescription
minLevelNumberThe minimum level of this display rectangle.
maxLevelNumberThe maximum level of this display rectangle.