동이동변경
This commit is contained in:
parent
e3d8528240
commit
e47788e487
@ -12,6 +12,7 @@ export const QLine = fabric.util.createClass(fabric.Line, {
|
|||||||
length: 0,
|
length: 0,
|
||||||
direction: null,
|
direction: null,
|
||||||
idx: 0,
|
idx: 0,
|
||||||
|
drawNo: 0,
|
||||||
area: 0,
|
area: 0,
|
||||||
children: [],
|
children: [],
|
||||||
padding: 5,
|
padding: 5,
|
||||||
@ -31,6 +32,7 @@ export const QLine = fabric.util.createClass(fabric.Line, {
|
|||||||
this.line = this
|
this.line = this
|
||||||
|
|
||||||
this.idx = options.idx ?? 0
|
this.idx = options.idx ?? 0
|
||||||
|
this.drawNo = options.drawNo ?? 0
|
||||||
this.direction = options.direction ?? getDirectionByPoint({ x: this.x1, y: this.y1 }, { x: this.x2, y: this.y2 })
|
this.direction = options.direction ?? getDirectionByPoint({ x: this.x1, y: this.y1 }, { x: this.x2, y: this.y2 })
|
||||||
this.textMode = options.textMode ?? 'plane' // plane:복시도, actual:실측, none:표시안함
|
this.textMode = options.textMode ?? 'plane' // plane:복시도, actual:실측, none:표시안함
|
||||||
this.textVisible = options.textVisible ?? true
|
this.textVisible = options.textVisible ?? true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user