Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在制作一个涉及拖动显示元素的控件。由于其中一部分是弧线,因此我必须使用 PathFigure,以便可以使用 ArcSegments。我想知道鼠标是否在图形的特定部分上,但我没有看到明显的方法来做到这一点。这是不可能的还是我错过了什么?
根 Path 对象具有鼠标的正常 UI 事件,而不是一个带有很多弧的路径,您将需要很多路径,每个路径都有一个弧。