CanvasObject<T> class

Constructors

CanvasObject({required double dx, required double dy, required double width, required double height, required T child})
const

Properties

child → T
no setter
hashCode int
The hash code for this object.
no setterinherited
offset Offset
no setter
rect Rect
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
no setter

Methods

copyWith({double? dx, double? dy, double? width, double? height, T? child}) CanvasObject<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
transform(Offset offset, double scale) CanvasObject<T>
transformFromOrigin(Offset offset, double scale, Offset origin) CanvasObject<T>

Operators

operator ==(Object other) bool
The equality operator.
inherited