跳到主要内容

Utils:interpolatePoints()

生成起点和终点之间的点列表。

参数

  • type:插值类型。可以是 "linear"(线性,默认)或 "bezier"(贝塞尔)。

签名

Utils:interpolatePoints(start: Point, end: Point, count: number, type: string): List<Point>

返回值

List<Point>