* @function LevelRenderer.Tool.Areal.prototype.isInsideSector * @description 图形 Sector 是否包含鼠标位置, true表示坐标处在图形内。 * @returns {boolean} 图形是否包含鼠标位置, true表示坐标处在图形内。
(cx, cy, r0, r, startAngle, endAngle, anticlockwise, x, y)
| 629 | * @returns {boolean} 图形是否包含鼠标位置, true表示坐标处在图形内。 |
| 630 | */ |
| 631 | isInsideSector(cx, cy, r0, r, startAngle, endAngle, anticlockwise, x, y) { |
| 632 | return this.isInsideArcStroke(cx, cy, (r0 + r) / 2, startAngle, endAngle, anticlockwise, r - r0, x, y); |
| 633 | } |
| 634 | |
| 635 | /** |
| 636 | * @function LevelRenderer.Tool.Areal.prototype.isInsidePolygon |
no test coverage detected