A Tween that animates a Point along a circular arc.
The arc's radius is related to the bounding box that contains the begin and end points. If the bounding box is taller than it is wide, then the center of the circle will be horizontally aligned with the end point. Otherwise the center of the circle will be aligned with the begin point. The arc's sweep is always less than or equal to 90 degrees.
Unlike those of most Tweens, the begin and end members of a MaterialPointArcTween are immutable.
See also:
- Inheritance
- Object
- Animatable<T>
- Tween<Point>
- MaterialPointArcTween
Constructors
- MaterialPointArcTween({@required Point begin, @required Point end })
Properties
- begin → Point
-
Setting the arc's
begin
parameter is not supported. Construct a new arc instead.write-only - beginAngle → double
-
The beginning of the arc's sweep in radians, measured from the positive X axis. Positive angles turn clockwise. Null if begin and end are horiztonally or vertically aligned.
read-only - center → Point
-
The center of the circular arc, null if
begin
andend
are horiztonally or vertically aligned.read-only - end → Point
-
Setting the arc's
end
parameter is not supported. Construct a new arc instead.write-only - endAngle → double
-
The end of the arc's sweep in radians, measured from the positive X axis. Positive angles turn clockwise.
read-only - hashCode → int
-
read-only
- radius → double
-
The radius of the circular arc, null if begin and end are horiztonally or vertically aligned.
read-only - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
Methods
-
lerp(
double t) → Point -
Returns the value this variable has at the given animation clock value.
-
toString(
) → String -
Returns a string representation of this object.
-
animate(
Animation<double> parent) → Animation<Point> -
Returns a new Animation that is driven by the given animation but that takes on values determined by this object.
inherited -
chain(
Animatable<double> parent) → Animatable<Point> -
Returns a new Animatable whose value is determined by first evaluating the given parent and then evaluating this object.
inherited -
evaluate(
Animation<double> animation) → Point -
Returns the interpolated value for the current value of the given animation.
inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited