HolyShape class

Cached silhouette points for an actor at (x, y): rim pixels inside (edge), 1 px ring just outside (out), vertical bounds, and an inside test at.

Constructors

HolyShape({required int x, required int y, required List<(int, int)> edge, required List<(int, int)> out, required int top, required int bottom, required ActorMask mask})
const

Properties

bottom → int
final
edge → List<(int, int)>
final
hashCode → int
The hash code for this object.
no setterinherited
mask → ActorMask
final
out → List<(int, int)>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
top → int
final
x → int
final
y → int
final

Methods

at(double px, double py) → bool
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