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.
我用 Path2D 创建了一条曲线,现在我想检测对象何时与曲线相交,而不是包含曲线的矩形。当我绘制曲线时,这条线包含在一个矩形内,但我想访问曲线的精确坐标。我真的不知道如何进行。