Skip to end of metadata
Go to start of metadata

Demonstration application displaying a triangle and a rectangle in a zoomable
pane. The class <CODE>org.geotools.swing.ZoomPane</CODE> take care of most of the internal mechanics. Developers must define only two abstract methods: <CODE>getArea()</CODE>, which returns the logical bounds of the painting area (it doesn't have to be in pixel unit) and <CODE>paintComponent(Graphics2D)</CODE> which performs the actual painting.

  • No labels