ImgBase class abstract Core

Base class for images

Represents the image in an abstract way, providing metadata and access to the RenderableImg.

Implementers

Constructors

ImgBase.init(int id)

Properties

hashCode int
The hash code for this object.
no setterinherited
imageType ImageType
Get the image type
no setter
isValid bool
Check if the image is valid
no setter
pointerId int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uid int
Get the image unique ID
no setter

Methods

getRenderableImage({Size? size, ImageFileFormat format = ImageFileFormat.png}) RenderableImg?
Get the image data as a RenderableImg. A RenderableImg contains the Uint8List and its width and height.
getRenderableImageBytes({Size? size, ImageFileFormat format = ImageFileFormat.png}) Uint8List?
Get the image data as a Uint8List.
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