Skip to main content

Module line

Module line 

Source
Expand description

Line breaking: converts inline items into laid-out lines.

Uses a greedy algorithm with unicode-linebreak for break opportunities.

Structs§

LayoutLine
A laid-out line within a paragraph.
LineBreakParams
Parameters for line breaking.
TabStop
A tab stop positioned in typographic points.
TextSegment
A shaped text segment with associated formatting.

Enums§

Align
Paragraph alignment.
InlineItem
An inline item to be placed on a line.
LineItem
A single item positioned on a line.
LineSpacing
Line height rule.
TabAlign
Alignment relative to a tab stop.
TabLeader
Leader style used to fill a tab gap.
Underline
Underline style applied to a text segment.

Functions§

break_into_lines
Break inline items into lines using a greedy algorithm.