Package pyjsdl :: Module pyjsarray

Module pyjsarray

Classes
  TypedArray
TypedArray is the base class that wraps the JavaScript TypedArray objects. The derived objects provides an interface to the JavaScript array objects. Typedarray implemented: Uint8ClampedArray, Uint8Array, Uint16Array, Uint32Array, Int8Array, Int16Array, Int32Array, Float32Array, Float64Array. The module contains an Ndarray class to instantiate N-dimensional arrays, ImageData and ImageMatrix classes that provide an interface to canvas ImageData, and BitSet classes that implement a bit array.
  Uint8ClampedArray
Create a TypedArray interface to Uint8ClampedArray.
  Uint8Array
Create a TypedArray interface to Uint8Array.
  Uint16Array
Create a TypedArray interface to Uint16Array.
  Uint32Array
Create a TypedArray interface to Uint32Array.
  Int8Array
Create a TypedArray interface to Int8Array.
  Int16Array
Create a TypedArray interface to Int16Array.
  Int32Array
Create a TypedArray interface to Int32Array.
  Float32Array
Create a TypedArray interface to Float32Array.
  Float64Array
Create a TypedArray interface to Float64Array.
  CanvasPixelArray
Create a TypedArray interface to CanvasPixelArray.
  Ndarray
  NP
  ImageData
  ImageMatrix
  BitSet
BitSet provides a bitset object to use in a Python-to-JavaScript application. The object stores data in a JavaScript Uint8Array 8-bit typedarray. BitSet16 and BitSet32 stores data in Uint16Array (16-bit) and Uint32Array (32-bit) typedarray. The BitSet will dynamically expand to hold the bits required, an optional width argument define number of bits the BitSet instance will initially hold.
  BitSet16
BitSet using Uint16Array typedarray.
  BitSet32
BitSet using Uint32Array typedarray.
Functions
 
typeOf(obj)
Return typeof obj.
Variables
  np = NP()