animation/raise#

Interfaces#

CardUnfold#

Defined in: arranger/src/animation/raise.ts:19

How one raised ancestor card unfolds: its clip opens from from to to, and the element at an index of drawing.elements in the card’s range moves by motionOf(index).

Properties#

from#

readonly from: Rect

Defined in: arranger/src/animation/raise.ts:20

motionOf#

readonly motionOf: (element) => RowMotion | null

Defined in: arranger/src/animation/raise.ts:23

The motion of the row an element of the card belongs to; null for its own rectangle and shadow, its gaps and their ellipses, or an element of no drawn row.

Parameters#
element#

number

Returns#

RowMotion | null

to#

readonly to: Rect

Defined in: arranger/src/animation/raise.ts:21

Functions#

raiseUnfold()#

raiseUnfold(manifest, drawing, card, measure): CardUnfold

Defined in: arranger/src/animation/raise.ts:46

How the ancestor card card of drawing (a box with ancestor) unfolds out of the member card it is aligned to, the card of card.ancestor.member in the frame of card.ancestor.group (for a root drawn once behind a row, the first group’s, which the card is aligned to). The rows: every line layout’s lineAxes records in each card, keyed by its timeline, the member card’s own lines and ancestor lines against the ancestor card’s lines (pairRows). The clip: from the member card’s rectangle to the bounds of everything the ancestor card draws (layout’s boundsOf), its rectangle moved by its shadow included; from that bound too where the member card is not drawn. An element belongs to the row of the timeline it belongs to (core’s indexOf(…).owners of its address’s ID: the timeline itself, the timeline holding an entry or carrying a named timestamp); the card’s own rectangle and its gaps (its elisions, which run from its top to its bottom as the rectangle does) with their ellipses belong to none, while a gap’s labels travel with the row of the timeline the elision lies on.

Parameters#

manifest#

Manifest

drawing#

Drawing

card#

DrawnBox

measure#

TextMeasure

Returns#

CardUnfold