scala.scalajs.js.typedarray

Float32Array

class Float32Array extends Object with TypedArray[Float, Float32Array]

ECMAScript 6 A TypedArray of single precision floats

Annotations
@RawJSType() @native()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Float32Array
  2. TypedArray
  3. ArrayBufferView
  4. Object
  5. Any
  6. AnyRef
  7. Any
Implicitly
  1. by TA2AF
  2. by any2stringadd
  3. by any2stringfmt
  4. by any2ArrowAssoc
  5. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Float32Array(buffer: ArrayBuffer, byteOffset: Int = 0, length: Int = ???)

    Creates a Float32Array view on the given ArrayBuffer

  2. new Float32Array(array: Array[_])

    Creates a new Float32Array with the elements in the given array

  3. new Float32Array(typedArray: TypedArray[_, _])

    Creates a new Float32Array with the same elements than the given TypedArray

    Creates a new Float32Array with the same elements than the given TypedArray

    The elements are converted before being stored in the new Int8Array.

  4. new Float32Array(length: Int)

    Constructs a Float32Array with the given length.

    Constructs a Float32Array with the given length. Initialized to all 0

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: scala.Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from Float32Array to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (Float32Array, B)

    Implicit information
    This member is added by an implicit conversion from Float32Array to ArrowAssoc[Float32Array] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: scala.Any): Boolean

    Definition Classes
    Any
  8. def apply(index: Int): Float

    Retrieve element at index

    Retrieve element at index

    Definition Classes
    TypedArray
    Annotations
    @JSBracketAccess()
  9. val array: Float32Array

    Implicit information
    This member is added by an implicit conversion from Float32Array to TA2AF performed by method TA2AF in scala.scalajs.js.typedarray.
    Definition Classes
    TA2AF
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. val buffer: ArrayBuffer

    The underlying buffer of this ArrayBufferView

    The underlying buffer of this ArrayBufferView

    Definition Classes
    ArrayBufferView
  12. val byteLength: Int

    The number of bytes of this ArrayBufferView

    The number of bytes of this ArrayBufferView

    Definition Classes
    ArrayBufferView
  13. val byteOffset: Int

    The offset of this ArrayBufferView in the underlying buffer

    The offset of this ArrayBufferView in the underlying buffer

    Definition Classes
    ArrayBufferView
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def ensuring(cond: (Float32Array) ⇒ Boolean, msg: ⇒ scala.Any): Float32Array

    Implicit information
    This member is added by an implicit conversion from Float32Array to Ensuring[Float32Array] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (Float32Array) ⇒ Boolean): Float32Array

    Implicit information
    This member is added by an implicit conversion from Float32Array to Ensuring[Float32Array] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ scala.Any): Float32Array

    Implicit information
    This member is added by an implicit conversion from Float32Array to Ensuring[Float32Array] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): Float32Array

    Implicit information
    This member is added by an implicit conversion from Float32Array to Ensuring[Float32Array] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def equals(arg0: scala.Any): Boolean

    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from Float32Array to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. def get(index: Int): Float

    Retrieve element at index

    Retrieve element at index

    Definition Classes
    TypedArray
    Annotations
    @JSBracketAccess()
  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. def hasOwnProperty(v: String): Boolean

    Tests whether this object has the specified property as a direct property.

    Tests whether this object has the specified property as a direct property.

    Unlike js.Object.hasProperty, this method does not check down the object's prototype chain.

    MDN

    Definition Classes
    Object
  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. def isPrototypeOf(v: Object): Boolean

    Tests whether this object is in the prototype chain of another object.

    Tests whether this object is in the prototype chain of another object.

    Definition Classes
    Object
  29. val length: Int

    The number of elements in this TypedArray

    The number of elements in this TypedArray

    Definition Classes
    TypedArray
  30. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  33. def propertyIsEnumerable(v: String): Boolean

    Tests whether the specified property in an object can be enumerated by a call to js.Object.properties, with the exception of properties inherited through the prototype chain.

    Tests whether the specified property in an object can be enumerated by a call to js.Object.properties, with the exception of properties inherited through the prototype chain. If the object does not have the specified property, this method returns false.

    MDN

    Definition Classes
    Object
  34. def set(array: Array[_], offset: Int): Unit

    Set the values from array in this TypedArray at given offset

    Set the values from array in this TypedArray at given offset

    Definition Classes
    TypedArray
  35. def set(array: Array[_]): Unit

    Set the values from array in this TypedArray

    Set the values from array in this TypedArray

    Definition Classes
    TypedArray
  36. def set(typedArray: TypedArray[_, _], offset: Int): Unit

    Set the values of typedArray in this TypedArray at given offset

    Set the values of typedArray in this TypedArray at given offset

    Definition Classes
    TypedArray
  37. def set(typedArray: TypedArray[_, _]): Unit

    Set the values of typedArray in this TypedArray

    Set the values of typedArray in this TypedArray

    Definition Classes
    TypedArray
  38. def set(index: Int, value: Float): Unit

    Set element at index

    Set element at index

    Definition Classes
    TypedArray
    Annotations
    @JSBracketAccess()
  39. def subarray(begin: Int, end: Int = ???): Float32Array

    Create a new TypedArray view of this TypedArray at given location

    Create a new TypedArray view of this TypedArray at given location

    Definition Classes
    TypedArray
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  41. def toArray: scala.Array[Float]

    Implicit information
    This member is added by an implicit conversion from Float32Array to TA2AF performed by method TA2AF in scala.scalajs.js.typedarray.
    Definition Classes
    TA2AF
  42. def toLocaleString(): String

    Definition Classes
    Object
  43. def toString(): String

    Definition Classes
    AnyRef → Any
  44. def update(index: Int, value: Float): Unit

    Set element at index

    Set element at index

    Definition Classes
    TypedArray
    Annotations
    @JSBracketAccess()
  45. def valueOf(): scala.Any

    Definition Classes
    Object
  46. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. def [B](y: B): (Float32Array, B)

    Implicit information
    This member is added by an implicit conversion from Float32Array to ArrowAssoc[Float32Array] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: scala.Any

    Implicit information
    This member is added by an implicit conversion from Float32Array to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (float32Array: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: scala.Any

    Implicit information
    This member is added by an implicit conversion from Float32Array to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (float32Array: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: Float32Array

    Implicit information
    This member is added by an implicit conversion from Float32Array to ArrowAssoc[Float32Array] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (float32Array: ArrowAssoc[Float32Array]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: Float32Array

    Implicit information
    This member is added by an implicit conversion from Float32Array to Ensuring[Float32Array] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (float32Array: Ensuring[Float32Array]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from TypedArray[Float, Float32Array]

Inherited from ArrayBufferView

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from scala.Any

Inherited by implicit conversion TA2AF from Float32Array to TA2AF

Inherited by implicit conversion any2stringadd from Float32Array to StringAdd

Inherited by implicit conversion any2stringfmt from Float32Array to StringFormat

Inherited by implicit conversion any2ArrowAssoc from Float32Array to ArrowAssoc[Float32Array]

Inherited by implicit conversion any2Ensuring from Float32Array to Ensuring[Float32Array]

Ungrouped