gpt4 book ai didi

zooming - 用Java可视化 vector 图,哪个库?

转载 作者:塔克拉玛干 更新时间:2023-11-01 22:55:59 26 4
gpt4 key购买 nike

我需要可视化一个大的 vector 图形。这是一张道路 map ,道路只是线条。有图书馆吗?如果该库支持放大/缩小并且易于扩展,那就太好了。例如。实现道路选择或一些不错的鼠标悬停效果。许可证应允许在商业项目中使用。

谢谢,菲利普

编辑:是否有理由不使用 Graphics2D 或 SWT Graphics? (该项目在 SWT 上,不涉及任何 SVG。)

最佳答案

看看Apache Batik

Batik is a Java-based toolkit for applications or applets that want to use images in the Scalable Vector Graphics (SVG) format for various purposes, such as display, generation or manipulation. Another possibility is to use Batik’s modules to convert SVG to various formats, such as raster images (JPEG, PNG or TIFF) or other vector formats (EPS or PDF, the latter two due to the transcoders provided by Apache FOP). The latest revision of Batik, release 1.7, is a conformant static SVG implementation and supports interactivity, linking and scripting features of the SVG specification.

另一个不错的选择是 FreeHEPVectorGraphics2D

关于zooming - 用Java可视化 vector 图,哪个库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4875301/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com