AbstractGeometryImg class Images

Vector turn arrow image for navigation instructions.

SDK-generated vector image representing turn maneuvers and abstract geometry in navigation UI. Supports lossless scaling to any size (isScalable returns true).

Cannot be instantiated by users - only provided by the SDK through TurnDetails.abstractGeometryImg and RouteInstructionBase.realisticNextTurnImg.

Customize appearance using AbstractGeometryImageRenderSettings to control active/inactive colors for inner and outer elements.

See also:

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
isCacheable → bool
Whether renders of this image may be memoized by ImgCache.
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

cachedFlutterImgCall({required int widthPx, required int heightPx, required ImageFileFormat format, required String? arg, required int settingsHash, required bool allowResize}) → RenderableImg?
Memoized variant of GemKitPlatform.callGetFlutterImg.
inherited
dispose() → void
Disposes the native object.
inherited
getRenderableImage({Size? size, ImageFileFormat format = ImageFileFormat.png, AbstractGeometryImageRenderSettings? renderSettings}) → RenderableImg?
Retrieves image with bytes and actual rendered dimensions.
override
getRenderableImageBytes({Size? size, ImageFileFormat format = ImageFileFormat.png, AbstractGeometryImageRenderSettings? renderSettings}) → 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