보조선 todo 추가

This commit is contained in:
hyojun.choi 2024-07-11 12:04:00 +09:00
parent 745c07f5ec
commit 1805383ce0

View File

@ -301,6 +301,10 @@ export default class QPolygon extends fabric.Group {
drawHelpLine(chon = 4) {
if (this.lines.length === 4) {
this.#drawHelpLineInRect(chon)
} else if (this.lines.length === 6) {
this.#drawHelpLineInHexagon(chon)
} else if (this.lines.length === 8) {
this.#drawHelpLineInOctagon(chon)
}
}
@ -523,4 +527,8 @@ export default class QPolygon extends fabric.Group {
this.canvas.add(ridge)
}
}
#drawHelpLineInHexagon(chon) {}
#drawHelpLineInOctagon(chon) {}
}