Skip to content

BookRect

BookRect = object

Defined in: core/src/layout.ts:8

Where the book sits inside its container, in book space (see axes.ts): container CSS pixels for a left-bound book, mirrored for a right-bound one, x and y swapped for a top-bound one.

readonly height: number

Defined in: core/src/layout.ts:13


readonly left: number

Defined in: core/src/layout.ts:9


readonly pageWidth: number

Defined in: core/src/layout.ts:14


readonly top: number

Defined in: core/src/layout.ts:10


readonly width: number

Defined in: core/src/layout.ts:12

Always two pages wide, even in portrait, where only the right half is visible.