* 设置圆心位置 * @param x 新的X坐标 * @param y 新的Y坐标 * @returns 当前圆形实例(链式调用)
(x: number, y: number)
| 130 | * @returns 当前圆形实例(链式调用) |
| 131 | */ |
| 132 | setPosition(x: number, y: number): this { |
| 133 | this.x = x; |
| 134 | this.y = y; |
| 135 | return this; |
| 136 | } |
| 137 | |
| 138 | /** |
| 139 | * 设置圆心位置(使用向量) |
no outgoing calls
no test coverage detected