Shape class

Constructors

Shape({required Offset pos, required double dx, required double dy, required double size, required Color color, required ItemBehaviour behaviour})

Properties

behaviour ItemBehaviour
getter/setter pair
color Color
getter/setter pair
dx double
getter/setter pair
dy double
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pos Offset
getter/setter pair
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size double
getter/setter pair
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setter

Methods

deltaNone(double width, double height) → void
deltaReflect(double width, double height) → void
deltaTeleport(double width, double height) → void
draw(Canvas canvas, Size size) → void
getPaint() Paint
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