Skip to content

vyaz-monorepo / core/src / AutofitOutcome

Interface: AutofitOutcome

Defined in: core/src/layout/TextFrameLayoutEngine.ts:205

Autofit outcome, present on the result when LayoutOptions.autofit was set.

Properties

clampedToMin

clampedToMin: boolean

Defined in: core/src/layout/TextFrameLayoutEngine.ts:209

True when the min-size floor was hit and content still overflows.


scale

scale: number

Defined in: core/src/layout/TextFrameLayoutEngine.ts:207

Proportional font-size scale applied (1 = no shrink).

Released under the MIT License.