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.
我有一个 ImageView 对象存储在一个滚动窗格中,我需要能够在该图像上绘图。请给我一些建议。我使用 javaFx。
遵循以下解决方案:应用程序 javafx的视图,其中有一些源代码可在 JavaFX 中创建可平移的地图背景
该解决方案使用StackPane在图像上分层内容,但您可以绘制任何您喜欢的节点。