setFromPoints method
dynamic
setFromPoints(
- dynamic points
Implementation
setFromPoints(points) {
moveTo(points[0].x, points[0].y);
for (var i = 1, l = points.length; i < l; i++) {
lineTo(points[i].x, points[i].y);
}
return this;
}