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`.


y1
  default: ``0``

  the y-coordinate of the first endpoint. Supports :doc:`/units`.


x2
  default: ``5``

  the x-coordinate of the second endpoint. Supports :doc:`/units`.


y2
  default: ``5``

  the y-coordinate of the second endpoint. Supports :doc:`/units`.


cx1
  default: ``0``

  the x-coordinate of the first control point. Supports :doc:`/units`.


cy1
  default: ``0``

  the y-coordinate of the first control point. Supports :doc:`/units`.


cx2
  default: ``5``

  the x-coordinate of the second control point. Supports :doc:`/units`.


cy2
  default: ``5``

  the y-coordinate of the second control point. Supports :doc:`/units`.


.. include:: /args/draw.rst
.. include:: /args/range.rst
.. include:: /args/layout.rst

Examples
^^^^^^^^
