On this page

Class GlyphOffsetArray

Hierarchy (View Summary)

Index

Constructors

Properties

arrayBuffer: ArrayBuffer
bytesPerElement: number
capacity: number
float32: Float32Array
isTransferred: boolean
length: number
uint8: Uint8Array

Methods

  • Resets the length of the array to 0 without de-allocating capacity.

    Returns void

  • Parameters

    • index: number

    Returns number

  • Indicate a planned increase in size, so that any necessary allocation may be done once, ahead of time.

    Parameters

    • n: number

      The expected size of the array.

    Returns void

  • Resize the array. If n is greater than the current length then additional elements with undefined values are added. If n is less than the current length then the array will be reduced to the first n elements.

    Parameters

    • n: number

      The new size of the array.

    Returns void

Was this helpful?
SDK JS
Reference
GlyphOffsetArray