vyaz-monorepo / core/src / MultiColumnConfig
Interface: MultiColumnConfig
Defined in: core/src/types/Document.ts:576
Configuration for multi-column layout (flowing columns).
Follows the CSS Multi-column Layout model: the parent frame holds a single flow of paragraphs; the layout engine automatically breaks the content into columns based on columnCount and columnGap.
Columns are not independent containers with their own paragraphs. If you need independent columns (each with separate content), use multiple TextFrame instances placed side-by-side.
See
CSS Multi-column Layout Level 1
Properties
count
count:
number
Defined in: core/src/types/Document.ts:578
Number of columns (like CSS column-count).
fill?
optionalfill?:"auto"|"balance"
Defined in: core/src/types/Document.ts:591
Column fill strategy:
'auto': fill columns sequentially (top-to-bottom, then next column).'balance': distribute lines evenly across columns.
Defaults to 'auto' when absent.
See
Todo
'balance' not yet implemented.
gap
gap:
number
Defined in: core/src/types/Document.ts:580
Gap between columns in px (like CSS column-gap).
