
## 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`](/html/python-net/aspose.html/uint8clampedarray) → 
[`TypedArray`](/html/python-net/aspose.html/typedarray) → 
[`DOMObject`](/html/python-net/aspose.html.dom/domobject)



The Uint8ClampedArray type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/html/python-net/aspose.html/uint8clampedarray/__init__/#int) | Initializes a new instance of the [`Uint8ClampedArray`](/html/python-net/aspose.html/uint8clampedarray) class. |
| [__init__](/html/python-net/aspose.html/uint8clampedarray/__init__/#bytes) | Initializes a new instance of the [`Uint8ClampedArray`](/html/python-net/aspose.html/uint8clampedarray) class. |
| [__init__](/html/python-net/aspose.html/uint8clampedarray/__init__/#aspose.html.ArrayBuffer) | Initializes a new instance of the [`Uint8ClampedArray`](/html/python-net/aspose.html/uint8clampedarray) class. |
| [__init__](/html/python-net/aspose.html/uint8clampedarray/__init__/#aspose.html.ArrayBuffer-int) | Initializes a new instance of the [`Uint8ClampedArray`](/html/python-net/aspose.html/uint8clampedarray) class. |
| [__init__](/html/python-net/aspose.html/uint8clampedarray/__init__/#aspose.html.ArrayBuffer-int-int) | Initializes a new instance of the [`Uint8ClampedArray`](/html/python-net/aspose.html/uint8clampedarray) class. |


### Properties
| Property | Description |
| :- | :- |
| [buffer](/html/python-net/aspose.html/uint8clampedarray/buffer) | Gets the ArrayBuffer referenced by this instance. |
| [byte_length](/html/python-net/aspose.html/uint8clampedarray/byte_length) | Gets the byteLength accessor property represents the length of an ArrayBuffer in bytes. |
| [byte_offset](/html/python-net/aspose.html/uint8clampedarray/byte_offset) | Gets the byteOffset from the start of referenced ArrayBuffer. |
| [length](/html/python-net/aspose.html/uint8clampedarray/length) | Gets the length of a typed array. |
| [BYTES_PER_ELEMENT](/html/python-net/aspose.html/uint8clampedarray/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](/html/python-net/aspose.html/uint8clampedarray/get_platform_type/#) | This method is used to retrieve the ECMAScript object Type. |



### See Also
* module [`aspose.html`](..)
* class [`DOMObject`](/html/python-net/aspose.html.dom/domobject)
* class [`TypedArray`](/html/python-net/aspose.html/typedarray)
* class [`Uint8ClampedArray`](/html/python-net/aspose.html/uint8clampedarray)
