Difference between revisions of "Igis-Lines"
From Coder Merlin
(Created page with "<syntaxhighlight lang="swift"> let lines = Lines(from:Point(x:110, y:150), to:Point(x:200, y:150)) lines.lineTo(Point(x:155, y:250)) lines.lineTo(Point...") |
|||
Line 1: | Line 1: | ||
<syntaxhighlight lang="swift"> | <syntaxhighlight lang="swift"> | ||
let lines = Lines(from:Point(x:110, y:150), to:Point(x:200, y:150)) | let lines = Lines(from:Point(x:110, y:150), to:Point(x:200, y:150)) | ||
Line 5: | Line 6: | ||
canvas.paint(lines) | canvas.paint(lines) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[File:Igis-Lines.png]] |