spine function
Where the spine stands at spread position `at`, in page widths from the box centre.
import { spine } from '@dioramajs/media/flipbook'A book with a cover, closed on it or on the back cover, stands in the middle of the box, and so does every open spread; between two spreads it slides with the turn. One page a spread: its left edge.
function spine(book: Book, at: number): numberParameters
| Name | Type | Description |
|---|---|---|
book | Book | |
at | number |
Defined in packages/media/src/flipbook.ts.