Hierarchy

  • ByteMatrix

Index

Constructors

constructor

  • new ByteMatrix(width: number, height: number): ByteMatrix
  • Parameters

    • width: number
    • height: number

    Returns ByteMatrix

Methods

clear

  • clear(value: number): void
  • Parameters

    • value: number

    Returns void

get

  • get(x: number, y: number): number
  • Parameters

    • x: number
    • y: number

    Returns number

getArray

  • getArray(): number[][]
  • Returns number[][]

getHeight

  • getHeight(): number
  • Returns number

getValueString

  • getValueString(): string
  • Returns string

getWidth

  • getWidth(): number
  • Returns number

set

  • set(x: number, y: number, value: number): void
  • Parameters

    • x: number
    • y: number
    • value: number

    Returns void

set2

  • set2(x: number, y: number, value: number): void
  • Parameters

    • x: number
    • y: number
    • value: number

    Returns void

Generated using TypeDoc