Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laaglu/lib-gwt-svg
a general purpose SVG library for GWT. The goal is to make it easy to do SVG graphics in a GWT application
https://github.com/laaglu/lib-gwt-svg
Last synced: 20 days ago
JSON representation
a general purpose SVG library for GWT. The goal is to make it easy to do SVG graphics in a GWT application
- Host: GitHub
- URL: https://github.com/laaglu/lib-gwt-svg
- Owner: laaglu
- Created: 2012-03-04T21:16:21.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2020-04-03T07:14:24.000Z (over 4 years ago)
- Last Synced: 2024-04-17T05:25:56.038Z (8 months ago)
- Language: Java
- Homepage: http://www.vectomatic.org/libs/lib-gwt-svg
- Size: 879 KB
- Stars: 39
- Watchers: 9
- Forks: 24
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- gwt-boot-awesome-lili - lib-gwt-svg - SVG library (Graphics)
- gwt-boot-awesome-lili - lib-gwt-svg - SVG library (Graphics)
README
# Introduction
lib-gwt-svg is a library to add SVG graphics to GWT applications.It offers the following features:
* GWT exposition of 100% of the JavaScript APIs defined in the [SVG 1.1 W3C recommendation (August 11, 2011)](http://www.w3.org/TR/SVG/ "Scalable Vector Graphics (SVG) 1.1 (Second Edition)").
* Many additional helper methods to improve development productivity.
* Tight integration with GWT, including: SVG resources (with XML validation), SVG in UiBinder definitions, integration with GWT event system, SVG Widgets (images, push and toggle buttons).
* Tight integration with Java, including: iteratable collections, subclassing of SVG elements, complete integration of W3C documentation in the javadocs.
* Open source [LGPLv3](http://www.gnu.org/licenses/lgpl.html "LGPLv3 homepage") license.
* Based on modern tools: maven, sonatype, git, jenkins# Demos, documentation, technical articles and other resources
Most of the documentation and support for the project is hosted by the [vectomatic](http://www.vectomatic.org/libs/lib-gwt-svg) website. This includes:
* [Release notes](http://www.vectomatic.org/libs/lib-gwt-svg/release-notes)
* [Javadoc](http://www.vectomatic.org/mvn-sites/lib-gwt-svg/apidocs/index.html)
* [Source x-ref](http://www.vectomatic.org/mvn-sites/lib-gwt-svg/xref/index.html)
* [Maven site](http://www.vectomatic.org/mvn-sites/lib-gwt-svg/)
* [Technical articles](http://www.vectomatic.org/category/lib-gwt-svg)A few samples of applications developed with this library can be found here (all of them with full source code):
* [Basic samples](http://www.vectomatic.org/libs/lib-gwt-svg/samples)
* [SVG editor](http://www.vectomatic.org/apps/svgreal)
* [Basic usage](http://www.vectomatic.org/games/lib-gwt-svg-chess)
* [Educational games](http://www.vectomatic.org/games/lib-gwt-svg-edu)The library can obtained from:
* The [Maven Central Repository](http://search.maven.org/#search|ga|1|a%3A%22lib-gwt-svg%22)
* The [vectomatic](http://www.vectomatic.org/mvn/org/vectomatic/lib-gwt-svg) local maven repositoryDiscussion group:
* The [lib-gwt-svg Google group](https://groups.google.com/group/lib-gwt-svg) answers questions about lib-gwt-svg usage. I (or somebody else) will do my best to answer it as quickly as possible.
Development:
* The main code repository is now hosted on [github](https://github.com/laaglu/lib-gwt-svg). The easiest way to contribute is to send pull requests there, or to provide patches to me by [email](mailto:[email protected])
# Compatibility
Lib-gwt-svg requires GWT 2.x. Depending on the version you GWT you are using, you must choose a version of lib-gwt-svg which matches it, as described in the following table:GWT version
lib-gwt-svg version2.0.3
0.4.62.0.4
0.4.72.1.0M1
0.4.92.1.0 / 2.1.1
0.5.02.2.0
0.5.12.3.0
0.5.22.4.0
0.5.5, 0.5.4 or 0.5.32.5.0
0.5.72.5.1
0.5.82.6.x
0.5.92.7.0
0.5.10, 0.5.11 (for Chrome 48+)2.8.0
0.5.122.8.1
0.5.132.8.2
0.5.14, 0.5.15 (for Firefox 59+)lib-gwt-svg has been tested on the following SVG-enabled web browsers:
Browser
VersionFirefox
3.xOpera
10.x or greaterChrome
5.x or greaterSafari
5.xIE
9.x (NB: on IE, xpath support is provided by integrating the excellent, Creative-Commons-licenced xpath.js library, by Cameron McCormack)Firefox for Android
10.x (NB: firefox supports touch events, but only single touch at the moment. Support for true multitouch is planned for 11.x)Android browser
Android 3.2 (NB: Android does not implement touch events for SVG)