l) is never greater than the right (r), and the top (t) is never greater than the bottom (b). Compute the rectangle’s width as r - l and its height as b - t.
| Property | Data type | Description |
|---|---|---|
l * | integer | The X coordinate of the left border of the rectangle. |
t * | integer | The Y coordinate of the top border of the rectangle. |
r * | integer | The X coordinate of the right border of the rectangle. |
b * | integer | The Y coordinate of the bottom border of the rectangle. |
Example
A block positioned 120 px from the left edge and 96 px from the top, 420 px wide and 62 px tall:Pixel coordinates are relative to the page image. If the document is exported to JSON only, they refer to the original image; if it is also exported to an image format, they refer to the preprocessed image. See Pages array elements.
