Class Uint8ClampedArray

Class Uint8ClampedArray

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

Represents an array of 8-bit unsigned integers clamped to 0-255; if you specified a value that is out of the range of [0,255], 0 or 255 will be set instead;

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

Inheritance

object DOMObject TypedArray TypedArray<byte> Uint8ClampedArray

Implements

INotifyPropertyChanged

Inherited Members

TypedArray<byte>.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

Uint8ClampedArray(int)

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

public Uint8ClampedArray(int length)

Parameters

length int

The length (number of elements).

Uint8ClampedArray(byte[])

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

public Uint8ClampedArray(byte[] data)

Parameters

data byte []

The array data.

Uint8ClampedArray(ArrayBuffer)

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

public Uint8ClampedArray(ArrayBuffer buffer)

Parameters

buffer ArrayBuffer

The data buffer.

Uint8ClampedArray(ArrayBuffer, int)

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

public Uint8ClampedArray(ArrayBuffer buffer, int byteOffset)

Parameters

buffer ArrayBuffer

The data buffer.

byteOffset int

The byte offset.

Uint8ClampedArray(ArrayBuffer, int, int)

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

public Uint8ClampedArray(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.Byte at the specified index.

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

Property Value

byte </byte></byte>

 English