Seadragon.Rect class
Version 0.8.8 - Back to
Seadragon Ajax API Reference
Overview
A class that represents a rectangle.
Constructors
| Signature | Description |
| Seadragon.Rect() | Creates a rectangle at (0, 0) of size 0 x 0. |
| Seadragon.Rect(x, y, width, height) | Creates a rectangle at (x, y) of size width x height. |
Properties
| Name | Type | Description |
| x | Number | The left edge of the rectangle. |
| y | Number | The top edge of the rectangle. |
| width | Number | The width of the rectangle. |
| height | Number | The height of the rectangle. |
Methods