Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Font

A simple font definition

Hierarchy

  • Font

Index

Constructors

Properties

Accessors

Constructors

constructor

  • new Font(_face?: string, _size?: number, _color?: string): Font
  • Parameters

    • Default value _face: string = "arial"

      Font face

    • Default value _size: number = 12

      Font size

    • Default value _color: string = "black"

      Font color

    Returns Font

Properties

Protected _color

_color: string

Font color

Protected _face

_face: string

Font face

Protected _size

_size: number

Font size

Accessors

color

  • get color(): string

face

  • get face(): string

size

  • get size(): number

Generated using TypeDoc