RgbaPixels class final
RGBA8 pixels read back from an image.
Constructors
- RgbaPixels(int width, int height, Uint8List bytes)
-
Wraps
bytes, which holdwidth×heightpixels, 4 bytes each.
Properties
Methods
-
at(
int x, int y) → List< int> -
The pixel at (
x,y) as[r, g, b, a]. -
atFraction(
double fx, double fy) → List< int> -
The pixel at fractional position (
fx,fy) in 0..1 of the image. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited