Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "font/Size"

Index

Classes

Interfaces

Variables

Functions

Variables

Const fontSizeBase

fontSizeBase: 16 = 16

The default font size. This can be overridden by using the FontSize class

Functions

fontSizeRatio

  • fontSizeRatio(last: number, multiplier: number): number
  • Calculates the steps of the font size. Limits the lower bound changes to 2 device units

    Parameters

    • last: number

      the previous step value

    • multiplier: number

      the scale to increase/decrease by

    Returns number

    the next step value