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.
在 JUNG 中使用 GraphZoomScrollPane 可以轻松放大/缩小图形。但是,我不能使图形背景图像与图形本身一起缩放。怎么做?
如果我能正确理解您,请尝试查看 JUNG示例源包StaticLayout中WorldMapGraphDemo.class示例中的 JUNG 示例。在此示例中,您可以放大/缩小布局和视图——背景图像将与图形元素一起放大/缩小。
StaticLayout