Skip to main content

Interface: LaneRule

Defined in: layout/lane.ts:8

Which Lanes does a Row hold? A consumer states it per Row, and per Entry for the Bar's Lane.

Methods​

laneCount()​

laneCount(row): number

Defined in: layout/lane.ts:10

Lanes the Row of this Entry holds. An empty Lane still counts. 0 or less: the Row has none.

Parameters​

row​

RowContext

Returns​

number


laneOf()​

laneOf(entry): number

Defined in: layout/lane.ts:12

The zero-based Lane a Bar of this Entry sits in.

Parameters​

entry​

Entry

Returns​

number