ImageMono class

Inheritance

Constructors

ImageMono({required int width, required int height})
Create a new monochromatic image (values go from 0 to 1)
ImageMono.fromMatrix(StaticMatrix<bool> matrix)
Create a mono image from a matrix

Properties

hashCode int
The hash code for this object.
no setterinherited
height int
no setterinherited
maxValue int
finalinherited
pixels StaticMatrix<bool>
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFile(String baseName) → void
Print image to file, extension is automatically asigned
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](int index) List<bool>
Override [] operator for direct access to data
inherited