Access restriction: The type 'Point2D' is not API (restriction on required library 'jfxrt.jar')
javafx.geometry.Point2D 屬於 JavaFX 模塊,JDK 內置但非標準公開 API,Eclipse 默認禁止訪問受限類。
java.awt.geom.Point2D(AWT 幾何包),功能相似且無限制。非 JavaFX 專項項目優先使用 java.awt.geom.Point2D,避免模塊依賴與訪問限制問題。