Class Float32Array

Class Float32Array

Namespace: Aspose.Html
Assembly: Aspose.HTML.dll (25.4.0)

Represents an array of 32-bit floating point numbers (corresponding to the C float data type) in the platform byte order.

[DOMName("Float32Array")]
[ComVisible(true)]
[DOMObject]
public class Float32Array : TypedArray<float>, INotifyPropertyChanged

Inheritance

object DOMObject TypedArray TypedArray<float> Float32Array

Implements

INotifyPropertyChanged

Inherited Members

TypedArray<float>.this[int] , TypedArray.Buffer , TypedArray.ByteLength , TypedArray.ByteOffset , TypedArray.Length , DOMObject.GetPlatformType() , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

Float32Array(int)

Initializes a new instance of the Aspose.Html.Float32Array class.

public Float32Array(int length)

Parameters

length int

The length (number of elements).

Float32Array(float[])

Initializes a new instance of the Aspose.Html.Float32Array class.

public Float32Array(float[] data)

Parameters

data float []

The array data.

Float32Array(ArrayBuffer)

Initializes a new instance of the Aspose.Html.Float32Array class.

public Float32Array(ArrayBuffer buffer)

Parameters

buffer ArrayBuffer

The data buffer.

Float32Array(ArrayBuffer, int)

Initializes a new instance of the Aspose.Html.Float32Array class.

public Float32Array(ArrayBuffer buffer, int byteOffset)

Parameters

buffer ArrayBuffer

The data buffer.

byteOffset int

The byte offset.

Float32Array(ArrayBuffer, int, int)

Initializes a new instance of the Aspose.Html.Float32Array class.

public Float32Array(ArrayBuffer buffer, int byteOffset, int length)

Parameters

buffer ArrayBuffer

The data buffer.

byteOffset int

The byte offset.

length int

The length.

Fields

BYTES_PER_ELEMENT

The property represents the size in bytes of each element in an typed array.

[DOMName("BYTES_PER_ELEMENT")]
public static readonly byte BYTES_PER_ELEMENT

Field Value

byte

Properties

this[int]

Gets or sets the System.Single at the specified index.

public override float this[int index] { get; set; }

Property Value

float </float></float>

 English