LaneImg class Maps & 3D Scene
Class used for customizable lane images
Represents the image in an abstract way, providing metadata and access to the RenderableImg.
Constructors
- LaneImg.init(int id)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageType → ImageType
-
Get the image type
no setterinherited
- isValid → bool
-
Check if the image is valid
no setterinherited
- pointerId → int
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uid → int
-
Get the image unique ID
no setterinherited
Methods
-
getRenderableImage(
{Size? size, ImageFileFormat format = ImageFileFormat.png, LaneImageRenderSettings? renderSettings, bool allowResize = false}) → RenderableImg? -
Get the image data as a RenderableImg.
A RenderableImg contains the Uint8List and its width and height.
override
-
getRenderableImageBytes(
{Size? size, ImageFileFormat format = ImageFileFormat.png, LaneImageRenderSettings? renderSettings, bool allowResize = false}) → Uint8List? -
Get the image data as a Uint8List.
Display the image on UI using the Image.memory constructor.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAutoReleaseObject(
int pointerId) → void -
Registers an object for auto release.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited