임시 완성3

This commit is contained in:
ysCha 2025-11-25 18:41:14 +09:00
parent 46f754e80a
commit 1e218459c0

View File

@ -694,12 +694,18 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => {
const getAddLine = (p1, p2, stroke = '#1083E3') => {
const line = new QLine([p1.x, p1.y, p2.x, p2.y], {
parentId : roof.id,
fontSize : roof.fontSize,
stroke : stroke,
strokeWidth: 4,
property : 'normal',
name : 'helpLine',
lineName : 'helpLine',
selectable : true,
visible : true,
roofId : roofId,
parentId : roof.id,
attributes : {
type: 'helpLine'
}
});
const coordinateText = new fabric.Text(`(${Math.round(line.x1)}, ${Math.round(line.y1)})`, {