java矢量图,在Java中可视化矢量图形,哪个库?

I need to visualize a large vector graphic. It's a map of roads, the roads are just lines. Is there a library for that? It would be nice if that library had support for zoom-in/zoom-out and would be easy to extend. E.g. to implement selection of roads or some nice mouse-over effects. The licence should permit usage in a commercial project.

Thanks, Philip

Edit: Is there a reason not to go with Graphics2D or SWT Graphics? (The project is on SWT and doesn't involve any SVGs.)

解决方案

Have a look at 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.

Another good alternatives are FreeHEP and VectorGraphics2D

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值