PolygonShape class
Constructors
-
PolygonShape(List<
Vector2> relativePoints, {Vector2? position})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
points
→ List<
Vector2> -
final
- position ↔ Vector2
-
getter/setter pairinherited-getteroverride-setter
- rect → RectangleShape
-
final
-
relativePoints
→ List<
Vector2> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isCollision(
Shape b) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
Canvas canvas, Paint paint) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited