CubicBezier

data class CubicBezier(val x1: Double, val y1: Double, val x2: Double, val y2: Double)(source)

A cubic bezier timing curve from (0, 0) to (1, 1) with control points (x1, y1) and (x2, y2). x1 and x2 must lie in [0, 1] so that every time maps to one progress value.

Constructors

Link copied to clipboard
constructor(x1: Double, y1: Double, x2: Double, y2: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val x1: Double
Link copied to clipboard
val x2: Double
Link copied to clipboard
val y1: Double
Link copied to clipboard
val y2: Double