Visualize vector graphics in Java, which library?

后端 未结 2 994
温柔的废话
温柔的废话 2021-01-14 13:10

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 zoo

相关标签:
2条回答
  • 2021-01-14 13:28

    If you're talking about SVG-like graphics, i think Batik is the way.

    0 讨论(0)
  • 2021-01-14 13:32

    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)
提交回复
热议问题