From e36593943292ba48b0c71acb255632358e100ace Mon Sep 17 00:00:00 2001 From: Benjamin Fan Date: Mon, 19 May 2025 17:26:32 -0700 Subject: [PATCH] fix(dev:docs): Improve Point.flipY() example code --- .../docs/reference/api/point/flipy/readme.mdx | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/sites/dev/docs/reference/api/point/flipy/readme.mdx b/sites/dev/docs/reference/api/point/flipy/readme.mdx index 391e3663879..4cf223ecaf8 100644 --- a/sites/dev/docs/reference/api/point/flipy/readme.mdx +++ b/sites/dev/docs/reference/api/point/flipy/readme.mdx @@ -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 } ```