(position: { x?: number; y?: number })
| 333 | }) |
| 334 | } |
| 335 | set_position(position: { x?: number; y?: number }) { |
| 336 | const { x, y } = position |
| 337 | if (x) { |
| 338 | this.x = x |
| 339 | } |
| 340 | if (y) { |
| 341 | this.y = y |
| 342 | } |
| 343 | this.refreshDeges() |
| 344 | } |
| 345 | getResizeOutlineStyle() { |
| 346 | const style = super.getResizeOutlineStyle() |
| 347 | style.stroke = 'none' |