You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.2 KiB
63 lines
1.2 KiB
curve |
|
----- |
|
|
|
Draw a bezier curve using the given coordinates, from x1,y1 to x2,y2. The curvature is set by the control points cx1,cy2 and cx2,cy2. |
|
|
|
Options |
|
^^^^^^^ |
|
.. include:: /args/expansion.rst |
|
|
|
x1 |
|
default: ``0`` |
|
|
|
the x-coordinate of the first endpoint. Supports :doc:`/units` and :doc:`/shorthands`.. |
|
|
|
|
|
y1 |
|
default: ``0`` |
|
|
|
the y-coordinate of the first endpoint. Supports :doc:`/units` and :doc:`/shorthands`.. |
|
|
|
|
|
x2 |
|
default: ``5`` |
|
|
|
the x-coordinate of the second endpoint. Supports :doc:`/units` and :doc:`/shorthands`.. |
|
|
|
|
|
y2 |
|
default: ``5`` |
|
|
|
the y-coordinate of the second endpoint. Supports :doc:`/units` and :doc:`/shorthands`.. |
|
|
|
|
|
cx1 |
|
default: ``0`` |
|
|
|
the x-coordinate of the first control point. Supports :doc:`/units` and :doc:`/shorthands`.. |
|
|
|
|
|
cy1 |
|
default: ``0`` |
|
|
|
the y-coordinate of the first control point. Supports :doc:`/units` and :doc:`/shorthands`.. |
|
|
|
|
|
cx2 |
|
default: ``5`` |
|
|
|
the x-coordinate of the second control point. Supports :doc:`/units` and :doc:`/shorthands`.. |
|
|
|
|
|
cy2 |
|
default: ``5`` |
|
|
|
the y-coordinate of the second control point. Supports :doc:`/units` and :doc:`/shorthands`.. |
|
|
|
|
|
.. include:: /args/draw.rst |
|
.. include:: /args/range.rst |
|
.. include:: /args/layout.rst |
|
|
|
Examples |
|
^^^^^^^^
|
|
|