Methods
cubicBezier
- cubicBezier(t, p0, p1, p2, p3): number
Parameters
t: number
p0: number
p1: number
p2: number
p3: number
Returns number
getLength
- getLength(n): number
Returns number
getLengths
- getLengths(n?): number[]
Returns number[]
getPoint
- getPoint(t): {
x: number;
y: number;
} Returns {
x: number;
y: number;
}
getUtoTmapping
- getUtoTmapping(u): number
Returns number
setControl
- setControl(v0, v1, v2, v3): void
Returns void
获取线总长度