MorphShapeData class

Data class associated with a MorphableShapeTween supplyCounts are used to make two dynamic paths becoming equal length, they are initialized when the morphing first starts and does not change afterwards even if the bounding box changes size.

Constructors

MorphShapeData({required MorphableShapeBorder begin, required MorphableShapeBorder end, required Rect boundingBox, MorphMethod method = MorphMethod.auto})

Properties

begin MorphableShapeBorder
getter/setter pair
beginOuterPath DynamicPath
outer path of the shapes, used to calculate the morphing
getter/setter pair
beginPaths ↔ BorderPaths?
used to morph FilledBorderShape
getter/setter pair
boundingBox Rect
getter/setter pair
end MorphableShapeBorder
getter/setter pair
endOuterPath DynamicPath
getter/setter pair
endPaths ↔ BorderPaths?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
method MorphMethod
getter/setter pair
minimumShift int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supplyCounts1 List<int>?
getter/setter pair
supplyCounts2 List<int>?
getter/setter pair

Methods

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