StyleImageRgba class final
Raw premultiplied RGBA pixels. See StyleImage.rgba.
- Inheritance
-
- Object
- StyleImage
- StyleImageRgba
Constructors
- StyleImageRgba({required int width, required int height, required Uint8List pixels})
-
Throws ArgumentError if
pixelslength is not4 * width * height.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → int
-
Height in pixels.
final
- pixels → Uint8List
-
Premultiplied RGBA scanlines (
4 * width * heightbytes).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → int
-
Width in pixels.
final
Methods
-
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.
override