끼워맞추기중

This commit is contained in:
hyojun.choi 2024-07-11 17:05:29 +09:00
parent d529e94143
commit 5d1b2ef590
2 changed files with 2 additions and 1 deletions

View File

@ -169,7 +169,7 @@ export default function Roof2() {
] ]
if (canvas) { if (canvas) {
const polygon = new QPolygon( const polygon = new QPolygon(
type4, type2,
{ {
fill: 'transparent', fill: 'transparent',
stroke: 'black', stroke: 'black',

View File

@ -735,6 +735,7 @@ export default class QPolygon extends fabric.Group {
stroke: 'black', stroke: 'black',
strokeWidth: 1, strokeWidth: 1,
}, },
Math.abs(realLine1.length - realLine3.length),
) )
this.addWithUpdate(realLine1) this.addWithUpdate(realLine1)