ByteMatrix class

JAVAPORT: The original code was a 2D array of ints, but since it only ever gets assigned -1, 0, and 1, I'm going to use less memory and go with bytes.

@author dswitkin@google.com (Daniel Switkin)

Constructors

ByteMatrix(int _width, int _height)

Properties

bytes List<Uint8List>
@return an internal representation as bytes, in row-major order. arrayx represents point (x,y)
no setter
hashCode int
The hash code for this object.
no setterinherited
height int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
no setter

Methods

clear(int value) → void
get(int x, int y) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(int x, int y, int value) → void
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited