ProtectedconstructorCheck if the image is valid
True if the image is valid, false otherwise
Get the image unique ID
The image ID
Get the renderable image with custom settings
Optionalsize: { height: number; width: number }The optional size as { width, height }
The image format (default: png)
OptionalrenderSettings: LaneImageRenderSettingsOptional render settings
Whether to allow resizing (default: false)
The renderable image or undefined if not valid
Get the image data as a Uint8Array
Optionalsize: { height: number; width: number }The optional size as { width, height }
The image format (default: png)
The image data or undefined if not valid
ProtectedregisterRegisters an object for auto release. When the object is not used anymore, it will be released automatically from C++.
The pointer ID to register
StaticcreateCreates a new LaneImg instance
The native pointer ID
A new LaneImg instance
Class used for customizable lane images