|
|
@ -56,11 +56,11 @@ export default class MeasureRenderer extends BaseRenderer { |
|
|
const startPoint = this.tempViewport?.entityManager.findObjectById(start.id) |
|
|
const startPoint = this.tempViewport?.entityManager.findObjectById(start.id) |
|
|
const endPoint = this.tempViewport?.entityManager.findObjectById(end.id) |
|
|
const endPoint = this.tempViewport?.entityManager.findObjectById(end.id) |
|
|
|
|
|
|
|
|
this.tempViewport.labelManager.createOrUpdateLabelByDistance(object, startPoint.position, endPoint.position, { |
|
|
// this.tempViewport.labelManager.createOrUpdateLabelByDistance(object, startPoint.position, endPoint.position, {
|
|
|
useHtmlLabel: this.useHtmlLabel, |
|
|
// useHtmlLabel: this.useHtmlLabel,
|
|
|
fontSize: 0.4, |
|
|
// fontSize: 0.4,
|
|
|
color: '#333333' |
|
|
// color: '#333333'
|
|
|
}) |
|
|
// })
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
afterDeleteLine(start: ItemJson, end: ItemJson, type: LinkType, option: RendererCudOption) { |
|
|
afterDeleteLine(start: ItemJson, end: ItemJson, type: LinkType, option: RendererCudOption) { |
|
|
|