Options
All
  • Public
  • Public/Protected
  • All
Menu

A Font is a pairing of a font-family and a size.

Hierarchy

  • Font

Index

Constructors

Properties

Accessors

Constructors

constructor

  • new Font(family?: string, size?: number): Font
  • Parameters

    • Optional family: string
    • Optional size: number

    Returns Font

Properties

Static SANS_SERIF

SANS_SERIF: Font = new Font()

Static SERIF

SERIF: Font = new Font("serif")

Accessors

family

family:

size

size:

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc