6,211
edits
Changes
no edit summary
<br>
== Path Befehle==
* '''Move To:''' Erstellt eine neue Kontur. Example: {type: 'M', x: 100, y: 200}
* '''Line To:''' Draw a line from the previous position to the given coordinateZiehe eine Linie von der letzten Koordinate. Example: {type: 'L', x: 100, y: 200}'''Curve To:''' Draw a bézier curve from the current position to the given coordinateZiehe eine Bézier Kurve von der letzten Koordinate. Example: {type: 'C', x1: 0, y1: 50, x2: 100, y2: 200, x: 100, y: 200}* '''Quad To:''' Draw a Ziehe eine quadratic bézier curve from the current position to the given coordinateBézier Kurve von der letzten Koordinate. Example: {type: 'Q', x1: 0, y1: 50, x: 100, y: 200}* '''Close:''' Close the path. If stroked, this will draw a line from the first to the last point of the contourSchließe die Umrisslinie. Example: {type: 'Z'} <br>