One of these techniques is to hit test against a simpler shape than the model itself.
一个比较好的办法就是用一个简单的几何物体代替模型来执行测试。
Specifies the hit-test code. A hit test is a test that determines the location of the cursor.
指定了击中测试代码。击中测试用于确定光标的位置。
This means that the hit test results callback method will not see these objects in its enumeration.
这意味着,命中测试结果回调方法在其枚举中将看不到这些对象。
Returns a hit test code indicating whether a point is contained in the background of the current visual style element.
返回一个命中测试代码,指示某个点是否包含在当前视觉样式元素的背景中。
The return value of the hit test filter callback function determines what type of action the enumeration of the visual objects should take.
命中测试筛选回调函数的返回值确定可视化对象的枚举应执行的操作类型。
The hit test filter callback method is invoked for all the visual objects that map to the hit test criteria, starting from the visual you specify and descending through its branch of the visual tree.
会为映射到命中测试条件的所有可视对象调用命中测试筛选器回调方法,从您指定的可视对象开始,一直向下延伸到可视化树的分支。
The hit test filter callback method is invoked for all the visual objects that map to the hit test criteria, starting from the visual you specify and descending through its branch of the visual tree.
会为映射到命中测试条件的所有可视对象调用命中测试筛选器回调方法,从您指定的可视对象开始,一直向下延伸到可视化树的分支。
应用推荐