Merge pull request 'fix(dev:docs): Improve Point.flipY() example code' (#377) from BenJamesBen/freesewing:improve-example-code into develop
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/377 Reviewed-by: Joost De Cock <joostdecock@noreply.codeberg.org>
This commit is contained in:
commit
39bb3eb6d4
1 changed files with 20 additions and 0 deletions
|
@ -66,6 +66,26 @@ Point point.flipY(Point mirror = false)
|
|||
.line(points.houseWallRight)
|
||||
.line(points.end)
|
||||
|
||||
paths.skylineBot = new Path()
|
||||
.move(points._start)
|
||||
.line(points._churchTowerWallLeft)
|
||||
.line(points._churchTowerRoofLeft)
|
||||
.line(points._churchTowerTop)
|
||||
.line(points._churchTowerRoofRight)
|
||||
.line(points._churchRoofRight)
|
||||
.line(points._churchWallRight)
|
||||
.line(points._houseWallLeft)
|
||||
.line(points._houseRoofLeft)
|
||||
.line(points._houseRoofTop)
|
||||
.line(points._houseRoofRight)
|
||||
.line(points._houseWallRight)
|
||||
.line(points._end)
|
||||
|
||||
paths.mirror = new Path()
|
||||
.move(points.mirror)
|
||||
.line(points.mirrorLineEnd)
|
||||
.setClass("note dashed")
|
||||
|
||||
return part
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue