Home > @magiclane/maps-sdk > ImgBase
ImgBase class
Base class for images
Represents the image in an abstract way, providing metadata and access to the RenderableImg.
Signature:
export declare abstract class ImgBase extends GemAutoreleaseObject Extends: GemAutoreleaseObject
Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
|
Constructs a new instance of the |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
number | bigint | ||
|
|
Get the image type | ||
|
|
boolean |
Check if the image is valid | |
|
|
number | bigint | ||
|
|
number |
Get the image unique ID |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
|
Get the image as a RenderableImg | |
|
Get the image data as a Uint8Array |