의미없는 QPolygon lengthText 제거

This commit is contained in:
hyojun.choi 2025-02-05 18:53:50 +09:00
parent b3481b4fce
commit f47b2684fb

View File

@ -235,6 +235,7 @@ export default function offsetPolygon(vertices, offset) {
const arcSegments = 0 const arcSegments = 0
const originPolygon = new QPolygon(vertices, { fontSize: 0 }) const originPolygon = new QPolygon(vertices, { fontSize: 0 })
originPolygon.setViewLengthText(false)
if (offset > 0) { if (offset > 0) {
let result = createMarginPolygon(polygon, offset, arcSegments).vertices let result = createMarginPolygon(polygon, offset, arcSegments).vertices