* @function StyleUtils.getIconAnchor * @description 获取图标的锚点 * @param {number} offsetX - X方向偏移分数 * @param {number} offsetY - Y方向偏移分数 * @returns {Array. }
(offsetX=0.5, offsetY=0.5)
| 703 | * @returns {Array.<number>} |
| 704 | */ |
| 705 | static getIconAnchor(offsetX=0.5, offsetY=0.5) { |
| 706 | return [offsetX, offsetY]; |
| 707 | } |
| 708 | /** |
| 709 | * @function StyleUtils.getCircleDisplacement |
| 710 | * @description 获取圆圈的偏移 |
no outgoing calls
no test coverage detected