Uint8ClampedArrayConstructor | typescript
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Uint8ClampedArrayConstructor

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Uint8ClampedArrayConstructor(length: number): Uint8ClampedArray
  • new Uint8ClampedArrayConstructor(arrayOrArrayBuffer: ArrayLike<number> | ArrayBufferLike): Uint8ClampedArray
  • new Uint8ClampedArrayConstructor(buffer: ArrayBufferLike, byteOffset: number, length?: number): Uint8ClampedArray
  • Parameters

    • length: number

    Returns Uint8ClampedArray

  • Parameters

    Returns Uint8ClampedArray

  • Parameters

    Returns Uint8ClampedArray

Properties

BYTES_PER_ELEMENT

BYTES_PER_ELEMENT: number

The size in bytes of each element in the array.

prototype

prototype: Uint8ClampedArray

Methods

from

  • from(arrayLike: ArrayLike<number>, mapfn?: function, thisArg?: any): Uint8ClampedArray
  • Creates an array from an array-like or iterable object.

    Parameters

    • arrayLike: ArrayLike<number>

      An array-like or iterable object to convert to an array.

    • Optional mapfn: function

      A mapping function to call on every element of the array.

        • (v: number, k: number): number
        • Parameters

          • v: number
          • k: number

          Returns number

    • Optional thisArg: any

      Value of 'this' used to invoke the mapfn.

    Returns Uint8ClampedArray

of

  • of(...items: number[]): Uint8ClampedArray
  • Returns a new array from a set of elements.

    Parameters

    • Rest ...items: number[]

      A set of elements to include in the new array object.

    Returns Uint8ClampedArray

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc