ImageGrayscale class

Inheritance

Constructors

ImageGrayscale({required int width, required int height})
Create a new Grayscale image (values go from 0 to 255)
ImageGrayscale.fromMatrix(StaticMatrix<int> 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<int>
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<int>
Override [] operator for direct access to data
inherited