groupstamps#

Functions#

frameMemberLines()#

frameMemberLines(axes, group): DrawnAxis[]

Defined in: layout/src/groupstamps.ts:44

The member lines of the frame of the group group among the drawn lines axes, in their order: the line of each member card’s own timeline (the timeline the group lists), never an ancestor line drawn above it nor a descendant’s line drawn in its children band, nor a line of an ancestor card behind the frame (section 8.8); one axis per card, the last run of a line drawn in runs between its frame’s gaps (sections 3.2 and 8.9), whose end and drawn end are the line’s. The one statement of which lines a group’s frame holds, whose cards a groupstamp spans and whose timelines (each with the descendants its cross-section line crosses) a groupstamp’s timestamp reads.

Parameters#

axes#

readonly DrawnAxis[]

group#

string

Returns#

DrawnAxis[]


groupLinePieces()#

groupLinePieces(axes, boxes, primary, style): object[]

Defined in: layout/src/groupstamps.ts:165

The pieces of a groupstamp’s line in the frame drawing the line primary (a line drawn in a card of a group’s frame), among the drawn lines axes and the drawn boxes boxes, given the style style of the line’s own cross-section line: over the frame’s spans (groupSpans: from the upper border of its topmost member card to the lower border of its bottommost, less the card the timestamp’s own line crosses), cut at the borders of each member card over which the timestamp has no coordinate (readsAcrossGroup), in order from the top. Each piece takes style, faded (fadedStyle) over such a card, and every piece is faded and uncut where the timestamp’s own member has an unknown length (section 6.6). None where primary is drawn in no frame. The one rule of the frame’s line, which a named groupstamp draws (groupstampElements) and a position read across a group marks (groupCrossSections in axes.ts).

Parameters#

axes#

readonly DrawnAxis[]

boxes#

readonly DrawnBox[]

primary#

DrawnAxis

style#

Style

Returns#

object[]


groupSpans()#

groupSpans(axes, boxes, primary): Span[]

Defined in: layout/src/groupstamps.ts:130

The ordinates a groupstamp’s line spans in the frame drawing the line primary (a line drawn in a card of a group’s frame), among the drawn lines axes and the drawn boxes boxes: from the upper border of the topmost card of the frame’s member lines (frameMemberLines) to the lower border of the bottommost, as the cards’ boxes are drawn in that frame, less the card drawing primary, which the timestamp’s own cross-section line crosses (section 6.6); the pieces in order from the top, none without a length. None where primary is drawn in no frame.

Parameters#

axes#

readonly DrawnAxis[]

boxes#

readonly DrawnBox[]

primary#

DrawnAxis

Returns#

Span[]


groupstampElements()#

groupstampElements(manifest, axes, boxes): VerticalLineElement[]

Defined in: layout/src/groupstamps.ts:195

The lines of manifest’s groupstamps among the drawn lines axes and the drawn boxes boxes, in block coordinates: timestamp by timestamp in the order of graphical.timestamps, frame by frame in the order of the lines, for each groupstamp whose cross-section line is listed and displayed (its AxisTimestamp.line) and for each line drawn in a card of a group’s frame that holds it, vertical cross_section elements at the timestamp’s abscissa there, one per piece of groupLinePieces in that line’s style at the frame’s scale. Their address is the timestamp’s line’s, {id, part: ["line"]}. They take no room.

Parameters#

manifest#

Manifest

axes#

readonly DrawnAxis[]

boxes#

readonly DrawnBox[]

Returns#

VerticalLineElement[]


readsAcrossGroup()#

readsAcrossGroup(own, other): boolean

Defined in: layout/src/groupstamps.ts:65

Whether a position read across a group from the member line own gives the member line other of the same frame a coordinate (section 6.6): the group maps it by the proportion of the two members’ lengths, so only where both are known (a member line’s end is null where its length is not); the drawn length of a member whose length is not known is its reach, which places the position on the drawing but defines no coordinate.

Parameters#

own#

DrawnAxis

other#

DrawnAxis

Returns#

boolean