Uint8ClampedArray class
Uint8ClampedArray class
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;
Inheritance: Uint8ClampedArray
→
TypedArray
→
DOMObject
The Uint8ClampedArray type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Initializes a new instance of the Uint8ClampedArray class. |
init | Initializes a new instance of the Uint8ClampedArray class. |
init | Initializes a new instance of the Uint8ClampedArray class. |
init | Initializes a new instance of the Uint8ClampedArray class. |
init | Initializes a new instance of the Uint8ClampedArray class. |
Properties
Property | Description |
---|---|
buffer | Gets the ArrayBuffer referenced by this instance. |
byte_length | Gets the byteLength accessor property represents the length of an ArrayBuffer in bytes. |
byte_offset | Gets the byteOffset from the start of referenced ArrayBuffer. |
length | Gets the length of a typed array. |
BYTES_PER_ELEMENT | The property represents the size in bytes of each element in an typed array. |
Gets or sets the Byte at the specified index.
Indexer
Name | Description |
---|---|
[index] | The index. |
Methods
Method | Description |
---|---|
get_platform_type | This method is used to retrieve ECMAScript object Type. |
See Also
- module
aspose.html
- class
DOMObject
- class
TypedArray
- class
Uint8ClampedArray