remix/ui/animation · Interface

View Source

BezierCurve

Summary

Cubic-bezier control points used by tween.

Signature

interface BezierCurve {
  x1: number
  x2: number
  y1: number
  y2: number
}

Properties

x1

First control point x coordinate.

x2

Second control point x coordinate.

y1

First control point y coordinate.

y2

Second control point y coordinate.