block/arrangement#
Interfaces#
RowLayout#
Defined in: layout/src/block/arrangement.ts:70
A block laid out side by side: its items at their places, laid out, and its once cards.
Properties#
drawings#
readonlydrawings: readonlyItemDrawing[]
Defined in: layout/src/block/arrangement.ts:72
horizontal#
readonlyhorizontal:Horizontal
Defined in: layout/src/block/arrangement.ts:73
items#
readonlyitems: readonlyItem[]
Defined in: layout/src/block/arrangement.ts:71
laid#
readonlylaid: readonlyLaidItem[]
Defined in: layout/src/block/arrangement.ts:74
once#
readonlyonce: readonlyLaidAncestorCard[]
Defined in: layout/src/block/arrangement.ts:75
Functions#
rowLayout()#
rowLayout(
context,block,top,row,measure):RowLayout
Defined in: layout/src/block/arrangement.ts:119
The block of context arranged side by side in the row row (sections
8.6 and 8.8): its items in the row’s order, the first at P and each
further one the row gap max(S, 48) right of the previous one’s drawn
width; the once card of each root behind the row, drawn in runs at its
anchors’ scales, with a gap or a seam between two anchors; the roots’ lines
one under another, the groups’ cards padded so that every anchor lies on
its root’s line; the tops so that the highest frame or once card lies at
the first item’s default y, top; the row packed again further right
where a once card would lie left of P.
Parameters#
context#
block#
top#
number