Skip to content

Lerp class

Built-in interpolation functions for common types.

public static class Lerp
name description
static Color(…) Linearly interpolates between two colors per component.
static Double(…) Linearly interpolates between two doubles.
static Float(…) Linearly interpolates between two floats.
static Point(…) Linearly interpolates between two points.
static Thickness(…) Linearly interpolates between two thicknesses per side.