Method
calcHitRatio
根据点击点到组件中心的距离与组件半径估算是否有效命中 (去除UI图片大小的干扰因素,例如100x45的按钮里放了个实际像素80x20的按钮图,周围都是透明区域……) @param comp @param x @param y @return
(LComponent comp, float x, float y)
Source from the content-addressed store, hash-verified
source not stored for this graph (policy: none)
Tested by
no test coverage detected