Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
gwt-geom is a port of the OpenJDK java.awt.geom package to work on GWT
Java
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example/gwt/geom/example
src/gwt
test/gwt
war
COPYING
README
build.xml
gwt-geom.jar

README

gwt-geom
-------

gwt-geom is a port of the OpenJDK java.awt.geom package to work on GWT. 
It is especially useful for Constructive Area Geometry (CAG) manipulations.
I use it for easily testing whether a screen click on an image is contained
in a certain shape { for example shape.contains(x,y) }.

Drawing to screen can be done using a 2d drawing library (currently gwt-g2d
is supported).

Most of the java.awt.geom package is available, as well as a few shapes from
the java.awt package. I have chosen to rename the package to gwt.awt since
we aren't providing all of java.awt and this helped me to ensure I wasn't using
any unported code.

Run ant devmode to see a simple demo.

See ant -p for more options


Something went wrong with that request. Please try again.