setBezierPathSlot method
Implementation
bool setBezierPathSlot(
String slotId,
List vertices,
bool closed,
List? inTangents,
List? outTangents,
) {
final path = JSObject();
path['v'.toJS] = _pointsToJS(vertices);
path['c'.toJS] = closed.toJS;
if (inTangents != null) path['i'.toJS] = _pointsToJS(inTangents);
if (outTangents != null) path['o'.toJS] = _pointsToJS(outTangents);
return _callSlotMethod('setBezierPathSlot', slotId, path);
}