Render to a string

Hierarchy (view full)

Constructors

Properties

_callback: ((string: string) => void)

The callback function passed to the constructor. Called on StringRenderer.update

defaultRenderAs: string = ' '

The pixelmanipulator.ElementData.renderAs value for the default element

renderInfo: string[] = []

Ordered by ID, the pixelmanipulator.ElementData.renderAs info for each element.

Methods

  • Parameters

    • id: number
    • newRenderAs: string

      The proposed character to use. Must be 1 char long and unique

    Returns string