Preparing search index...
The search index is not available
DIVA SDK - v1.2.0
DIVA SDK - v1.2.0
diva-sdk-math
BezierCurve
Class BezierCurve
用以表示贝塞尔曲线的类。
Hierarchy
BezierCurve
Index
Constructors
constructor
Methods
Interpolate
Constructors
constructor
new
Bezier
Curve
(
)
:
BezierCurve
Returns
BezierCurve
Methods
Static
Interpolate
Interpolate
(
t
:
number
, x1
:
number
, y1
:
number
, x2
:
number
, y2
:
number
)
:
number
从给定的 x1、y1、x2、y2 计算返回 't'处的三次贝塞尔内插值
Returns
插值结果
Parameters
t:
number
x1:
number
y1:
number
x2:
number
y2:
number
Returns
number
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Modules
DIVA SDK -
v1.2.0
diva-
sdk
diva-
sdk-
core
diva-
sdk-
loader
diva-
sdk-
math
jsonrpc-
lite
Bezier
Curve
constructor
Interpolate
用以表示贝塞尔曲线的类。