Package us.zuercher.gpx2map.plotter

The package us.zuercher.gpx2map.plotter provides a mechanism for plotting markers of various styles, lines, and text on to Netpbm files.

See:
          Description

Interface Summary
MarkerStyle All markers, include Styles must implement this interface.
 

Class Summary
AbstractPlotter AbstractPlotter renders arbitrary shapes defined by the caller onto an existing Netpbm file without reading the entire file into memory.
AbstractShape AbstractShape represents a figure to be drawn on the output map.
AbstractShapePixelRowIterator AbstractShapePixelRowIterator wraps an Iterator> with Z-ordering information for the pixels.
AbstractTextPlotter AbstractTextPlotter extends AbstractPlotter to provide marker labelling capabilities.
AlphaPixel AlphaPixel extends Pixel to provide a Pixel with alpha blending.
Color Color represents an RGB color.
ImageMarkerStyle ImageMarkerStyle implements MarkerStyle to provide markers based on the contents of an image file.
ImageShape ImageShape extends AbstractShape to render the contents of an image during plotting.
Line Line extends AbstractShape to draw a line with a given color and thickness.
Pixel Pixel extends Point and adds Color information.
Shape Shape extends AbstractShape to draw arbitrary shapes at predetermined locations.
TrackPlotter TrackPlotter extends WayPointPlotter to plot lines between track- and route-points.
WayPointPlotter WayPointPlotter extends AbstractTextPlotter to draw way-points with optional labels.
 

Enum Summary
MarginUnits MarginUnits is an enumeration of the units that may be used to specify image margins.
Style Style is an enumeration of concrete MarkerStyle implementations.
 

Error Summary
ColorDataError ColorDataError indicates an error loading color data from the rgb.txt file.
 

Package us.zuercher.gpx2map.plotter Description

The package us.zuercher.gpx2map.plotter provides a mechanism for plotting markers of various styles, lines, and text on to Netpbm files. Markers are provided as way-points. Lines are drawn between the track- and route-points. Text labels are automatically applied to way-points and optionally applied to tracks and routes. Track segments may be joined or not.

The Style enumeration provides basic marker styles that can be drawn in various sizes. Size is referred to as radius, but really means the horizontal distance from the center of a marker to either edge.

In addition to the fixed Style types, more dynamic marker styles can be created by implementing MarkerStyle. For example, ImageMarkerStyle implements marker images based on the contents of an image file.

Author $Author: stephan $
Version $Id: package.html 171 2006-01-14 17:22:52Z stephan $
Copyright Copyright (C) 2005-2005 Stephan Zuercher