Skip to content

FlipFrame

FlipFrame = object

Defined in: core/src/controller.ts:43

readonly bottom: number | null

Defined in: core/src/controller.ts:52

The page revealed underneath, or null when the turn reveals nothing.


readonly corner: FlipCorner

Defined in: core/src/controller.ts:49


readonly direction: FlipDirection

Defined in: core/src/controller.ts:48

The direction the fold runs. In portrait a turn back runs forward, as the previous page turning off itself in reverse, with that page as flipping and on show as Frame.right.


readonly flipping: number

Defined in: core/src/controller.ts:50


readonly fold: Fold

Defined in: core/src/controller.ts:53


readonly hardAngle: number

Defined in: core/src/controller.ts:57

Rotation about the spine for hard pages, in degrees.


readonly progress: number

Defined in: core/src/controller.ts:55

How far the fold has come, 0..100, running in direction. A turn’s own progress is FlipProgress.


readonly shadow: ShadowData | null

Defined in: core/src/controller.ts:58


readonly sheets: readonly Sheet[]

Defined in: core/src/controller.ts:63

When a jump turns a clump of pages at once, the blank sheets under the turning one, nearest first. Empty for a turn of one page.