MokuroImage class
Contains all information needed to render an image, including any text coordinate information and the display image itself.
Constructors
-
MokuroImage({required String url, required Size size, required List<
MokuroBlock> blocks}) -
Initialise this object.
const
Properties
-
blocks
→ List<
MokuroBlock> -
The blocks of text for this image.
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- size → Size
-
Dimensions of the image.
final
- url → String
-
The image file pertaining to this image.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited