Usage (signatures)
board.create('spline', [...point]);
Parameters are the points for the spline interpolation.
Parameters
| Name | Type | Attributes | Description |
|---|---|---|---|
point |
PointLike |
<repeatable> |
Unspecified number of points |
Example
var p = [];
p[0] = board.create('point', [-2,2], {size: 4, face: 'o'});
p[1] = board.create('point', [0,-1], {size: 4, face: 'o'});
p[2] = board.create('point', [2,0], {size: 4, face: 'o'});
p[3] = board.create('point', [4,1], {size: 4, face: 'o'});
var c = board.create('spline', p, {strokeWidth:3});
board.create('spline', [x, y]);
Parameters are the points for the spline interpolation.???
Parameters
| Name | Type | Description |
|---|---|---|
x |
Array | Array with y-coordinates (numbers or functions) |
y |
Array | Array with x-coordinates (numbers or functions) |
Attributes
Own
none
Inherited
Members
Own
none
Inherited
Events
Own
none