StraightEdge

2D polygon library in Java
Download

StraightEdge Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD
  • Publisher Name:
  • Keith Woodward
  • Publisher web site:
  • http://www.keithwoodward.com/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 1 KB

StraightEdge Tags


StraightEdge Description

StraightEdge is a simple, easy to use, 2D polygon library aiming to provide path-finding and lighting using polygons rather than tiles.The basic polygon and point classes are the KPolygon and KPoint. KPolygon contains a list of KPoints for vertices as well as a center (centroid), area, and radius (circular bound or distance from center to furthest point). KPolygon was born out of the need for a more game-oriented and flexible polygon class than the Path2D class in the standard Java library. KPolygon implements java.awt.geom.Shape so it can be easily drawn and filled by Java2D's Graphics2D object.


StraightEdge Related Software