PathMetricsTransformation class
A path transformation that moves the initial position along a path based on metrics.
This transformation uses the metrics of a defined Path to calculate the position along the path. The position is determined by the progress of the transformation along the path's length.
- Inheritance
-
- Object
- DeterministicPathTransformation
- PathMetricsTransformation
Constructors
- PathMetricsTransformation({required Path path})
-
Creates a PathMetricsTransformation with the given
path
.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
positionFor(
Particle particle, double progress) → Offset -
Transforms the initial position of a
particle
based on theprogress
of the transformation.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited