PremultipliedRgba8Image class final
An image of 8-bit RGBA pixels whose colors are multiplied by their alpha.
See mln_premultiplied_rgba8_image in the
C API reference.
Constructors
- PremultipliedRgba8Image({required int width, required int height, required int stride, required Uint8List pixels})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
final
- pixels → Uint8List
-
The rows of pixels,
stridebytes apart, from the top row down.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stride → int
-
The number of bytes from the start of one row to the start of the next, at
least
width* 4.final - width → int
-
final
Methods
-
copyWith(
{int? width, int? height, int? stride, Uint8List? pixels}) → PremultipliedRgba8Image - A copy of this value with the given members replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited