Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CubicBezier

三次贝塞尔曲线

Hierarchy

  • CubicBezier

Index

Constructors

Methods

Constructors

constructor

  • new CubicBezier(p1x: number, p1y: number, p2x: number, p2y: number): CubicBezier
  • Parameters

    • p1x: number
    • p1y: number
    • p2x: number
    • p2y: number

    Returns CubicBezier

Methods

getBezierEase

  • getBezierEase(): (time: number) => number
  • 返回三次贝塞尔曲线函数

    Returns (time: number) => number

      • (time: number): number
      • 返回三次贝塞尔曲线函数

        Parameters

        • time: number

        Returns number