Animators

public static class Animators
Provides easy creation methods for common animator types.

Methods

DurationToTimeSpan

#
public static TimeSpan DurationToTimeSpan(Duration duration)
Convert a duration enum to a timespan.
duration (Duration)Duration.
Actual timespan.

Finished

#
public static Animated<Color> Finished(Color value, Duration duration, Motion motion)
Create a new, finished animator for the Eto.Drawing.Color type.
value (Color)Immediate value.
duration (Duration)Duration associates with this animator. The duration only becomes relevant once this animator is chained.
motion (Motion)Motion associated with this animator. The motion only becomes relevant once this animator is chained.
Animator.

Finished

#
public static Animated<Color> Finished(Color value)
Create a new, finished animator for the Eto.Drawing.Color type.
value (Color)Immediate value.
Animator.

Finished

#
public static Animated<double> Finished(double value, Duration duration, Motion motion)
Create a new, finished animator for the System.Double type.
value (double)Immediate value.
duration (Duration)Duration associates with this animator. The duration only becomes relevant once this animator is chained.
motion (Motion)Motion associated with this animator. The motion only becomes relevant once this animator is chained.
Animator.

Finished

#
public static Animated<double> Finished(double value)
Create a new, finished animator for the System.Double type.
value (double)Immediate value.
Animator.

Finished

#
public static Animated<float> Finished(float value, Duration duration, Motion motion)
Create a new, finished animator for the System.Single type.
value (float)Immediate value.
duration (Duration)Duration associates with this animator. The duration only becomes relevant once this animator is chained.
motion (Motion)Motion associated with this animator. The motion only becomes relevant once this animator is chained.
Animator.

Finished

#
public static Animated<float> Finished(float value)
Create a new, finished animator for the System.Single type.
value (float)Immediate value.
Animator.

Finished

#
public static Animated<int> Finished(int value, Duration duration, Motion motion)
Create a new, finished animator for the System.Int32 type.
value (int)Immediate value.
duration (Duration)Duration associates with this animator. The duration only becomes relevant once this animator is chained.
motion (Motion)Motion associated with this animator. The motion only becomes relevant once this animator is chained.
Animator.

Finished

#
public static Animated<int> Finished(int value)
Create a new, finished animator for the System.Int32 type.
value (int)Immediate value.
Animator.

Finished

#
public static Animated<Point> Finished(Point value, Duration duration, Motion motion)
Create a new, finished animator for the Eto.Drawing.Point type.
value (Point)Immediate value.
duration (Duration)Duration associates with this animator. The duration only becomes relevant once this animator is chained.
motion (Motion)Motion associated with this animator. The motion only becomes relevant once this animator is chained.
Animator.

Finished

#
public static Animated<Point> Finished(Point value)
Create a new, finished animator for the Eto.Drawing.Point type.
value (Point)Immediate value.
Animator.

Finished

#
public static Animated<PointF> Finished(PointF value, Duration duration, Motion motion)
Create a new, finished animator for the Eto.Drawing.PointF type.
value (PointF)Immediate value.
duration (Duration)Duration associates with this animator. The duration only becomes relevant once this animator is chained.
motion (Motion)Motion associated with this animator. The motion only becomes relevant once this animator is chained.
Animator.

Finished

#
public static Animated<PointF> Finished(PointF value)
Create a new, finished animator for the Eto.Drawing.PointF type.
value (PointF)Immediate value.
Animator.

Finished

#
public static Animated<Rectangle> Finished(Rectangle value, Duration duration, Motion motion)
Create a new, finished animator for the Eto.Drawing.Rectangle type.
value (Rectangle)Immediate value.
duration (Duration)Duration associates with this animator. The duration only becomes relevant once this animator is chained.
motion (Motion)Motion associated with this animator. The motion only becomes relevant once this animator is chained.
Animator.

Finished

#
public static Animated<Rectangle> Finished(Rectangle value)
Create a new, finished animator for the Eto.Drawing.Rectangle type.
value (Rectangle)Immediate value.
Animator.

Finished

#
public static Animated<RectangleF> Finished(RectangleF value, Duration duration, Motion motion)
Create a new, finished animator for the Eto.Drawing.RectangleF type.
value (RectangleF)Immediate value.
duration (Duration)Duration associates with this animator. The duration only becomes relevant once this animator is chained.
motion (Motion)Motion associated with this animator. The motion only becomes relevant once this animator is chained.
Animator.

Finished

#
public static Animated<RectangleF> Finished(RectangleF value)
Create a new, finished animator for the Eto.Drawing.RectangleF type.
value (RectangleF)Immediate value.
Animator.

Finished

#
public static Animated<Size> Finished(Size value, Duration duration, Motion motion)
Create a new, finished animator for the Eto.Drawing.Size type.
value (Size)Immediate value.
duration (Duration)Duration associates with this animator. The duration only becomes relevant once this animator is chained.
motion (Motion)Motion associated with this animator. The motion only becomes relevant once this animator is chained.
Animator.

Finished

#
public static Animated<Size> Finished(Size value)
Create a new, finished animator for the Eto.Drawing.Size type.
value (Size)Immediate value.
Animator.

Finished

#
public static Animated<SizeF> Finished(SizeF value, Duration duration, Motion motion)
Create a new, finished animator for the Eto.Drawing.SizeF type.
value (SizeF)Immediate value.
duration (Duration)Duration associates with this animator. The duration only becomes relevant once this animator is chained.
motion (Motion)Motion associated with this animator. The motion only becomes relevant once this animator is chained.
Animator.

Finished

#
public static Animated<SizeF> Finished(SizeF value)
Create a new, finished animator for the Eto.Drawing.SizeF type.
value (SizeF)Immediate value.
Animator.

Unfinished

#
public static Animated<Color> Unfinished(Color value0, Color value1, Duration duration, Motion motion)
Create a new, progressing animator for the Color type with the default duration.
value0 (Color)Initial value.
value1 (Color)Terminal value.
duration (Duration)Animation duration.
motion (Motion)Type of motion.
Animator.

Unfinished

#
public static Animated<Color> Unfinished(Color value0, Color value1)
Create a new, progressing animator for the Color type with the default duration.
value0 (Color)Initial value.
value1 (Color)Terminal value.
Animator.

Unfinished

#
public static Animated<double> Unfinished(double value0, double value1, Duration duration, Motion motion)
Create a new, progressing animator for the double type with the default duration.
value0 (double)Initial value.
value1 (double)Terminal value.
duration (Duration)Animation duration.
motion (Motion)Type of motion.
Animator.

Unfinished

#
public static Animated<double> Unfinished(double value0, double value1)
Create a new, progressing animator for the double type with the default duration.
value0 (double)Initial value.
value1 (double)Terminal value.
Animator.

Unfinished

#
public static Animated<float> Unfinished(float value0, float value1, Duration duration, Motion motion)
Create a new, progressing animator for the float type with the default duration.
value0 (float)Initial value.
value1 (float)Terminal value.
duration (Duration)Animation duration.
motion (Motion)Type of motion.
Animator.

Unfinished

#
public static Animated<float> Unfinished(float value0, float value1)
Create a new, progressing animator for the float type with the default duration.
value0 (float)Initial value.
value1 (float)Terminal value.
Animator.

Unfinished

#
public static Animated<int> Unfinished(int value0, int value1, Duration duration, Motion motion)
Create a new, progressing animator for the int type with the default duration.
value0 (int)Initial value.
value1 (int)Terminal value.
duration (Duration)Animation duration.
motion (Motion)Type of motion.
Animator.

Unfinished

#
public static Animated<int> Unfinished(int value0, int value1)
Create a new, progressing animator for the int type with the default duration.
value0 (int)Initial value.
value1 (int)Terminal value.
Animator.

Unfinished

#
public static Animated<Point> Unfinished(Point value0, Point value1, Duration duration, Motion motion)
Create a new, progressing animator for the Point type with the default duration.
value0 (Point)Initial value.
value1 (Point)Terminal value.
duration (Duration)Animation duration.
motion (Motion)Type of motion.
Animator.

Unfinished

#
public static Animated<Point> Unfinished(Point value0, Point value1)
Create a new, progressing animator for the Point type with the default duration.
value0 (Point)Initial value.
value1 (Point)Terminal value.
Animator.

Unfinished

#
public static Animated<PointF> Unfinished(PointF value0, PointF value1, Duration duration, Motion motion)
Create a new, progressing animator for the PointF type with the default duration.
value0 (PointF)Initial value.
value1 (PointF)Terminal value.
duration (Duration)Animation duration.
motion (Motion)Type of motion.
Animator.

Unfinished

#
public static Animated<PointF> Unfinished(PointF value0, PointF value1)
Create a new, progressing animator for the PointF type with the default duration.
value0 (PointF)Initial value.
value1 (PointF)Terminal value.
Animator.

Unfinished

#
public static Animated<Rectangle> Unfinished(Rectangle value0, Rectangle value1, Duration duration, Motion motion)
Create a new, progressing animator for the Rectangle type with the default duration.
value0 (Rectangle)Initial value.
value1 (Rectangle)Terminal value.
duration (Duration)Animation duration.
motion (Motion)Type of motion.
Animator.

Unfinished

#
public static Animated<Rectangle> Unfinished(Rectangle value0, Rectangle value1)
Create a new, progressing animator for the Rectangle type with the default duration.
value0 (Rectangle)Initial value.
value1 (Rectangle)Terminal value.
Animator.

Unfinished

#
public static Animated<RectangleF> Unfinished(RectangleF value0, RectangleF value1, Duration duration, Motion motion)
Create a new, progressing animator for the RectangleF type with the default duration.
value0 (RectangleF)Initial value.
value1 (RectangleF)Terminal value.
duration (Duration)Animation duration.
motion (Motion)Type of motion.
Animator.

Unfinished

#
public static Animated<RectangleF> Unfinished(RectangleF value0, RectangleF value1)
Create a new, progressing animator for the RectangleF type with the default duration.
value0 (RectangleF)Initial value.
value1 (RectangleF)Terminal value.
Animator.

Unfinished

#
public static Animated<Size> Unfinished(Size value0, Size value1, Duration duration, Motion motion)
Create a new, progressing animator for the Point type with the default duration.
value0 (Size)Initial value.
value1 (Size)Terminal value.
duration (Duration)Animation duration.
motion (Motion)Type of motion.
Animator.

Unfinished

#
public static Animated<Size> Unfinished(Size value0, Size value1)
Create a new, progressing animator for the Point type with the default duration.
value0 (Size)Initial value.
value1 (Size)Terminal value.
Animator.

Unfinished

#
public static Animated<SizeF> Unfinished(SizeF value0, SizeF value1, Duration duration, Motion motion)
Create a new, progressing animator for the PointF type with the default duration.
value0 (SizeF)Initial value.
value1 (SizeF)Terminal value.
duration (Duration)Animation duration.
motion (Motion)Type of motion.
Animator.

Unfinished

#
public static Animated<SizeF> Unfinished(SizeF value0, SizeF value1)
Create a new, progressing animator for the PointF type with the default duration.
value0 (SizeF)Initial value.
value1 (SizeF)Terminal value.
Animator.