Draws a cubic parametric curve segment.
Properties
Property | Default | Notes |
|---|---|---|
x1 |
|
|
y1 |
|
|
ctrlx1 |
|
|
ctrly1 |
|
|
ctrlx2 |
|
|
ctrly2 |
|
|
x2 |
|
|
y2 |
|
|
Example
| Code Block |
|---|
cubicCurve( x1: 10, y1: 10, ctrlx1: 10, ctrly1: 100, ctrlx2: 300, ctrly2: 10, x2: 300, y2: 100,
borderColor: 'blue', borderWidth: 10 )
|
