Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GlyphFactory

Hierarchy

  • GlyphFactory

Index

Constructors

constructor

  • Parameters

    • fontFamily: FontFamily | string | (string | SansSerif | Serif | Monospace)[]
    • fontSize: number
    • Optional baselineHeight: number
    • Optional fontColor: string
    • Optional strokeWidth: number
    • Optional strokeColor: string
    • Optional strokeOnly: boolean
    • Optional fontWeight: FontWeight

    Returns GlyphFactory

Properties

baselineHeight

baselineHeight: number

fontColor

fontColor: string

fontFamily

fontFamily: FontFamily | string | (string | SansSerif | Serif | Monospace)[]

fontSize

fontSize: number

fontWeight

fontWeight: FontWeight

strokeColor

strokeColor: string

strokeOnly

strokeOnly: boolean

strokeWidth

strokeWidth: number

Methods

create

  • create(code: number): Glyph
  • Parameters

    • code: number

    Returns Glyph

Generated using TypeDoc