Uint8ClampedArray constructor
Contents
[
Hide
]init
Initializes a new instance of the Uint8ClampedArray class.
def __init__(self, length):
    ...
| Parameter | Type | Description | 
|---|---|---|
| length | int | The length (number of elements). | 
init
Initializes a new instance of the Uint8ClampedArray class.
def __init__(self, data):
    ...
| Parameter | Type | Description | 
|---|---|---|
| data | bytes | The array data. | 
init
Initializes a new instance of the Uint8ClampedArray class.
def __init__(self, buffer):
    ...
| Parameter | Type | Description | 
|---|---|---|
| buffer | ArrayBuffer | The data buffer. | 
init
Initializes a new instance of the Uint8ClampedArray class.
def __init__(self, buffer, byte_offset):
    ...
| Parameter | Type | Description | 
|---|---|---|
| buffer | ArrayBuffer | The data buffer. | 
| byte_offset | int | The byte offset. | 
init
Initializes a new instance of the Uint8ClampedArray class.
def __init__(self, buffer, byte_offset, length):
    ...
| Parameter | Type | Description | 
|---|---|---|
| buffer | ArrayBuffer | The data buffer. | 
| byte_offset | int | The byte offset. | 
| length | int | The length. | 
See Also
- module aspose.html
- class Uint8ClampedArray