slots#

Functions#

rowSlots()#

rowSlots(rootRow, fitted): Map<Entry, Slots>

Defined in: layout/src/slots.ts:59

The slots of every present conversion maps band of a member drawing whose root’s row is rootRow, after the first pass fitted, by its line: for every row (rowsBelow), the bands of its lines grouped by side and level and, within those, by whether their line’s children band lies on that side nearer the line, so that no maps band’s start waits on itself through the children bands of the row (section 6.4, Where a band lies, The order of the starts); each group laid out together (slotsOf). Reads only the lines of each row and their prepared bands.

Parameters#

rootRow#

Row

fitted#

ReadonlyMap<Entry, Fitted>

Returns#

Map<Entry, Slots>


slotsOf()#

slotsOf(lines): Slots

Defined in: layout/src/slots.ts:34

The slots of the conversion maps bands of lines (in traversal order), each present, on one side at one level: their maps taken line by line (PreparedTimeline.maps) and given their slots (mapSlots), w the largest stroke width of their lines, each band e = w / 2 + J × (g + d) wide.

Parameters#

lines#

readonly PreparedTimeline[]

Returns#

Slots