inspector/matchstampLines#

Interfaces#

AnchorLine#

Defined in: editor/src/inspector/matchstampLines.ts:179

An alignment anchor’s connector: the anchor, and the names of its two timelines in its order.

Properties#

anchor#

readonly anchor: StampAnchor

Defined in: editor/src/inspector/matchstampLines.ts:183

key#

readonly key: string

Defined in: editor/src/inspector/matchstampLines.ts:182

Unique among the lines of one MatchStamp.

kind#

readonly kind: "anchor"

Defined in: editor/src/inspector/matchstampLines.ts:180

names#

readonly names: readonly [string, string]

Defined in: editor/src/inspector/matchstampLines.ts:184


StampGroup#

Defined in: editor/src/inspector/matchstampLines.ts:53

A group of the Matchstamp tab’s Coordinates: the rows the Timestamp tab shows for that timeline, with how the timeline takes part and, for group, the names (else IDs) of the groups it is read through.

Extends#

Properties#

groups#

readonly groups: readonly string[]

Defined in: editor/src/inspector/matchstampLines.ts:55

key#

readonly key: string

Defined in: editor/src/inspector/timestamp.ts:105

Unique among the groups of one timestamp or MatchStamp.

Inherited from#

TimelineRows.key

name#

readonly name: string

Defined in: editor/src/inspector/timestamp.ts:108

The timeline’s name, else its ID.

Inherited from#

TimelineRows.name

primary?#

readonly optional primary?: true

Defined in: editor/src/inspector/timestamp.ts:114

Present, true, on the group holding the timestamp’s primary coordinate (its anchor’s coordinate row), which the tab highlights.

Inherited from#

TimelineRows.primary

rows#

readonly rows: readonly ValueRow[]

Defined in: editor/src/inspector/timestamp.ts:109

Inherited from#

TimelineRows.rows

through#

readonly through: Through

Defined in: editor/src/inspector/matchstampLines.ts:54

timeline#

readonly timeline: string

Defined in: editor/src/inspector/timestamp.ts:106

Inherited from#

TimelineRows.timeline


TimestampLine#

Defined in: editor/src/inspector/matchstampLines.ts:166

A timestamp’s line of a MatchStamp: its timeline’s name (else its ID) and its coordinate in pretty text, the match timestamp it is (null while the MatchStamp is potential: naming stores it), the other named MatchStamps whose anchors name that match timestamp too, whose drawing a change of its display changes as well, and whether it is a GroupStamp: null where its timeline lies in no group, else on as stored, or for a potential MatchStamp as naming stores it (core’s namedAsGroupstamp: the match timestamp lying there keeps its own, a new one is a GroupStamp), with the names of the groups holding its timeline (holdingGroupNames).

Properties#

groupstamp#

readonly groupstamp: { groups: readonly string[]; on: boolean; } | null

Defined in: editor/src/inspector/matchstampLines.ts:175

key#

readonly key: string

Defined in: editor/src/inspector/matchstampLines.ts:169

Unique among the lines of one MatchStamp.

kind#

readonly kind: "timestamp"

Defined in: editor/src/inspector/matchstampLines.ts:167

name#

readonly name: string

Defined in: editor/src/inspector/matchstampLines.ts:171

shared#

readonly shared: readonly object[]

Defined in: editor/src/inspector/matchstampLines.ts:174

timeline#

readonly timeline: string

Defined in: editor/src/inspector/matchstampLines.ts:170

timestamp#

readonly timestamp: { } | null

Defined in: editor/src/inspector/matchstampLines.ts:173

value#

readonly value: string

Defined in: editor/src/inspector/matchstampLines.ts:172

Type Aliases#

StampLine#

StampLine = TimestampLine | AnchorLine

Defined in: editor/src/inspector/matchstampLines.ts:188

A line of a MatchStamp: a timestamp’s line or an alignment anchor’s connector.


Through#

Through = "claimed" | "ancestor" | "crossed" | "group"

Defined in: editor/src/inspector/matchstampLines.ts:46

How a timeline of a MatchStamp’s Coordinates takes part: claimed the coordinate’s own timeline, the value its MatchClaims state; ancestor an ancestor of it; crossed a timeline of its subtree its line crosses; group a timeline read through a group its match timestamp is a GroupStamp of (another member, scaled, its ancestors and the descendants its line crosses).

Functions#

stampGroups()#

stampGroups(manifest, block, drawing, stamp, granularity, knots, raised?): StampGroup[]

Defined in: editor/src/inspector/matchstampLines.ts:95

The groups of the timestamps of stamp, a MatchStamp of block block’s manifest, drawn as drawing, in screen order, each exactly as the Timestamp tab’s Coordinates show that timestamp: the rows (timelineRows, top to bottom) of a named MatchStamp’s match timestamp read through its own pin (the arranger’s namedPin, which adds the members of its groups where it is a GroupStamp), of a potential one’s coordinate through the arranger’s timelinePin, nothing stored, read as a GroupStamp exactly where naming stores one (core’s namedAsGroupstamp), so that the Coordinates show before naming what they show after it, under granularity with knots, on the lines the canvas shows while the root raised has its ancestor cards raised (the arranger’s raisedRoot, null for none). Each group says how its timeline takes part (Through). A coordinate whose timeline the manifest no longer holds is its text alone, claimed. Each group’s key is unique among them, two coordinates on one timeline, or on timelines sharing an ancestor, included.

Parameters#

manifest#

Manifest

block#

string

drawing#

Drawing

stamp#

ShownStamp

granularity#

Granularity

knots#

Knots

raised?#

string | null = null

Returns#

StampGroup[]


stampLines()#

stampLines(manifest, stamp, drawing, raised?): StampLine[]

Defined in: editor/src/inspector/matchstampLines.ts:238

The lines of stamp, a MatchStamp of manifest drawn as drawing, in screen order (the arranger’s inScreenOrder, top-down, then left-to-right): every timestamp’s line at its coordinate’s place, and every anchor’s connector just before the line of its lower coordinate (an anchor’s coordinates are in screen order, so its second), anchors meeting one coordinate by their upper one, raised naming the root whose ancestor cards are raised (the arranger’s raisedRoot), else null. A chain of timestamps and anchors therefore alternates as drawn: the top timestamp, the anchor down to the next, that timestamp, and so on.

Parameters#

manifest#

Manifest

stamp#

ShownStamp

drawing#

Drawing

raised?#

string | null = null

Returns#

StampLine[]