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
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size double
getter/setter pair

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