Interface FontScalingOptions

Hierarchy

  • FontScalingOptions

Properties

addAtDoubleWidth: number

Pixels to add to the size of the font when the viewport size is double baseViewportWidth.

baseViewportWidth: number

Width of the viewport in pixels where the set font size should be used.

maximumSize?: string

Maximum font size, regardless of scaling applied. This can be in any CSS unit, and if pixels are used, px should be appended. If undefined, no clamping is applied.

Generated using TypeDoc