Interpolators

public static class Interpolators
Provides interpolation methods for common types.

Methods

Interpolate

#
public static Color Interpolate(Color value0, Color value1, double factor)
Color interpolator method.
value0 (Color)Initial value.
value1 (Color)Final value.
factor (double)Interpolation factor.
Interpolated value.

Interpolate

#
public static double Interpolate(double value0, double value1, double factor)
Double precision interpolator method.
value0 (double)Initial value.
value1 (double)Final value.
factor (double)Interpolation factor.
Interpolated value.

Interpolate

#
public static float Interpolate(float value0, float value1, double factor)
Single precision interpolator method.
value0 (float)Initial value.
value1 (float)Final value.
factor (double)Interpolation factor.
Interpolated value.

Interpolate

#
public static int Interpolate(int value0, int value1, double factor)
Integer interpolator method.
value0 (int)Initial value.
value1 (int)Final value.
factor (double)Interpolation factor.
Interpolated value.

Interpolate

#
public static Point Interpolate(Point value0, Point value1, double factor)
Integer precision point interpolator method.
value0 (Point)Initial value.
value1 (Point)Final value.
factor (double)Interpolation factor.
Interpolated value.

Interpolate

#
public static PointF Interpolate(PointF value0, PointF value1, double factor)
Single precision point interpolator method.
value0 (PointF)Initial value.
value1 (PointF)Final value.
factor (double)Interpolation factor.
Interpolated value.

Interpolate

#
public static Rectangle Interpolate(Rectangle value0, Rectangle value1, double factor)
Integer precision Rectangle interpolator method.
value0 (Rectangle)Initial value.
value1 (Rectangle)Final value.
factor (double)Interpolation factor.
Interpolated value.

Interpolate

#
public static RectangleF Interpolate(RectangleF value0, RectangleF value1, double factor)
Single precision rectangle interpolator method.
value0 (RectangleF)Initial value.
value1 (RectangleF)Final value.
factor (double)Interpolation factor.
Interpolated value.

Interpolate

#
public static Size Interpolate(Size value0, Size value1, double factor)
Integer precision point interpolator method.
value0 (Size)Initial value.
value1 (Size)Final value.
factor (double)Interpolation factor.
Interpolated value.

Interpolate

#
public static SizeF Interpolate(SizeF value0, SizeF value1, double factor)
Single precision point interpolator method.
value0 (SizeF)Initial value.
value1 (SizeF)Final value.
factor (double)Interpolation factor.
Interpolated value.