Type Parameters

  • T

Hierarchy (View Summary)

Constructors

  • Initialization with buffer-size.

    Type Parameters

    • T

    Parameters

    • size: number

    Returns AbstractBuffer<T>

Properties

buffer: any
entries: T[]
from: number
index: number
phaseX: number
phaseY: number
to: number

Accessors

  • get length(): any
  • Returns the size (length) of the buffer array.

    Returns any

Methods

  • Builds up the buffer with the provided data and resets the buffer-index after feed-completion. This needs to run FAST.

    Parameters

    • data: any

    Returns any

  • limits the drawing on the x-axis

    Parameters

    • from: number

    Returns void

  • limits the drawing on the x-axis

    Parameters

    • to: number

    Returns void

  • Resets the buffer index to 0 and makes the buffer reusable.

    Returns void

  • Set the phases used for animations.

    Parameters

    • phaseX: any
    • phaseY: any

    Returns void