RoadInfoImg class Maps & 3D Scenes

Vector road shield image for highway and route markers.

SDK-generated vector image representing road shields (interstate signs, route numbers, highway markers) in navigation and map UI. Supports lossless scaling to any size (isScalable returns true). Cannot be instantiated by users - only provided by RouteInstructionBase.roadInfo.

Customize appearance using backgroundColor parameter to control the rendered background color. Set allowResize to true to let the SDK choose optimal aspect ratio based on requested height.

See also:

  • RoadInfo - Contains road shield images
Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
hasRegisteredAutoReleaseObject bool
getter/setter pairinherited
imageType ImageType
Category of this image indicating its source and purpose.
no setterinherited
isScalable bool
Whether the image uses a vector format and supports lossless scaling.
no setteroverride
isValid bool
Whether the SDK has valid image data available.
no setterinherited
pointerId int
The pointer ID of the native object
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uid int
Unique identifier for this image instance.
no setterinherited

Methods

dispose() → void
Disposes the native object.
inherited
getRenderableImage({Size? size, ImageFileFormat format = ImageFileFormat.png, Color backgroundColor = Colors.transparent, bool allowResize = false}) RenderableImg?
Retrieves image with bytes and actual rendered dimensions.
override
getRenderableImageBytes({Size? size, ImageFileFormat format = ImageFileFormat.png, Color backgroundColor = Colors.transparent, bool allowResize = false}) Uint8List?
Retrieves image bytes suitable for display with Image.memory.
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