RasterImage class

Einfaches RGBA-Bild (4 Bytes/Pixel: R,G,B,A) als Ersatz fuer image.Image. Bewusst minimal — nur was der Druckpfad braucht.

Constructors

RasterImage(int width, int height, Uint8List rgba)
RasterImage.filled(int w, int h, int r, int g, int b, int a)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
height → int
final
rgba → Uint8List
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → int
final

Methods

clone() → RasterImage
flipHorizontal() → RasterImage
invertRgb() → void
RGB invertieren (255 - v), Alpha unveraendert.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rotate270() → RasterImage
270 Grad im Uhrzeigersinn (entspricht copyRotate(img, 270) aus image 3.x).
toString() → String
A string representation of this object.
inherited

Operators

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