画圆我知道,但不知道如何写文字。。。
this._tool.circle()
// 设置 fill 样式
.fill({ color: ‘rgba(0,128,255,0.8)’ })
// 设置点击区域,这里设置的是根据 fill 模式点击
.style(‘pointer-events’, ‘fill’)
// 设置鼠标样式
.style(‘cursor’, ‘move’)
画圆我知道,但不知道如何写文字。。。
this._tool.circle()
// 设置 fill 样式
.fill({ color: ‘rgba(0,128,255,0.8)’ })
// 设置点击区域,这里设置的是根据 fill 模式点击
.style(‘pointer-events’, ‘fill’)
// 设置鼠标样式
.style(‘cursor’, ‘move’)