Skip to content

Latest commit

 

History

History
63 lines (35 loc) · 1.21 KB

curve.rst

File metadata and controls

63 lines (35 loc) · 1.21 KB

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

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

Examples