Skip to main content

Module text

Module text 

Source
Expand description

Pure text/title layer spec types.

TextSpec and TextStyle describe a text layer’s content, position, and styling as plain values, with no FFmpeg dependency. A rendering primitive (in ff-filter) translates a TextSpec into a compositable frame; the model (in avio) uses it for first-class text clips. Neither concern leaks here.

Structs§

TextSpec
A text/title layer: the string, its placement, and its styling.
TextStyle
Visual styling for a text layer.

Enums§

Anchor
Where a text layer is anchored within its canvas.