Class FontFamily

Represents a font family (for text properties).

Hierarchy

  • FontFamily

Constructors

Properties

Accessors

Constructors

  • Creates a new font family object.

    Parameters

    • value: string

      CSS font-family setting value.

    • Optional label: string

      optional label describing the font family.

    Returns FontFamily

Properties

value: string

CSS font family string.

Accessors

  • get label(): string
  • Get the display label for the font family value.

    Returns string

  • set label(value): void
  • Sets the display label for the font family value.

    Parameters

    • value: undefined | string

    Returns void

Generated using TypeDoc