Home > @magiclane/maps-sdk > GemImage
GemImage class
GemImage class representing an image with format and metadata
Signature:
export declare class GemImage Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Constructor |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
number |
Aspect ratio X | ||
|
number |
Aspect ratio Y | ||
|
(Optional) Image format | |||
|
Uint8Array |
(Optional) Image data | ||
|
number |
Image ID |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
Equality comparison | ||
|
|
Create from JSON representation | |
|
Hash code calculation | ||
|
Convert to JSON representation |