Home > @magiclane/maps-sdk > RenderableImg > (constructor)
RenderableImg.(constructor)
Creates a new RenderableImg instance
Signature:
constructor(width: number, height: number, bytes: Uint8Array);Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
width |
number |
The width of the image in pixels |
|
height |
number |
The height of the image in pixels |
|
bytes |
Uint8Array |
The raw image data |