Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TextAtlas

Hierarchy

  • TextAtlas

Index

Constructors

constructor

Properties

canvas

canvas: HTMLCanvasElement

canvas2

canvas2: HTMLCanvasElement

colors

colors: string[]

context

context: CanvasRenderingContext2D

context2

context2: CanvasRenderingContext2D

currentX

currentX: number = 0

currentY

currentY: number = 0

cutoff

cutoff: number = 0.25

d

d: Float64Array

data

data: Uint8Array

f

f: Float64Array

gamma

gamma: number = 1

gridInner

gridInner: Float64Array

gridOuter

gridOuter: Float64Array

lineHeight

lineHeight: number

mapped

mapped: object

Type declaration

maxWidth

maxWidth: number

middle

middle: number

paddedSize

paddedSize: number

padding

padding: number

parameters

parameters: TextAtlasParams

placeholder

placeholder: TextAtlasMap

radius

radius: number

scratch

scratch: Uint8Array

scratchH

scratchH: number = 0

scratchW

scratchW: number = 0

texture

texture: CanvasTexture

v

v: Int16Array

z

z: Float64Array

Methods

draw

  • draw(text: string): void

get

  • get(text: string): object

map

  • map(text: string): object

Generated using TypeDoc