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.
我有一个 4 边多边形的高度、宽度 1 和宽度 2。如何检测在该区域中单击了鼠标。
您正在寻找“多边形中的点”算法。此链接有描述和实现示例。