PsPatternImage class final
A rendered row-major RGBA image suitable for editor integration.
Constructors
- PsPatternImage({required int width, required int height, required Uint8List rgba})
- Creates an immutable rendered image.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
Number of pixel rows.
final
- rgba → Uint8List
-
Four bytes per pixel in red, green, blue, alpha order.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → int
-
Number of pixel columns.
final
Methods
-
componentAt(
{required int x, required int y, required int component}) → int -
Returns one component from the pixel at
x,y. -
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