drawBezier(opt: DrawBezierOpt): void
Draw a cubic Bezier curve.
param
opt- The draw cubic bezier options.
drawBezier({ pt1: vec2(100, 100), pt2: vec2(200, 100), pt3: vec2(200, 200), pt4: vec2(100, 200), width: 2, color: GREEN });
since
v3001.0
Draw a cubic Bezier curve.
param
opt- The draw cubic bezier options.
drawBezier({ pt1: vec2(100, 100), pt2: vec2(200, 100), pt3: vec2(200, 200), pt4: vec2(100, 200), width: 2, color: GREEN });
since
v3001.0
Assets
Components
Component Types
Input
Events
Info
Math
Misc
Draw
Layer
Camera
Level
Plugins
Button Bindings