Skip to main content

Interface: CaptionGeometry

Table of contents​

Properties​

Properties​

lineWidth​

• lineWidth: number

Stroke line width for caption text. This is scaled relative to the font size to keep outlines proportional.

Defined in​

utils/caption-geometry.ts:15


rectProps​

• rectProps: Object

Rect-level layout properties used by caption phrase containers. Currently only drives horizontal gap between words, but can be extended in a backwards-compatible way.

Type declaration​

NameType
gapnumber

Defined in​

utils/caption-geometry.ts:22