Sha256: cad38feedf557d3060f5644946f2af142da83aeb1c11ff73898388b6f74702df

Contents?: true

Size: 1.08 KB

Versions: 3

Compression:

Stored size: 1.08 KB

Contents

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
^^^^^^^^

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
squib-0.12.0 docs/dsl/curve.rst
squib-0.11.0 docs/dsl/curve.rst
squib-0.10.0 docs/dsl/curve.rst