Package org.geotools.axis

Support for drawable axis with graduation.


Interface Summary
Graduation An axis's graduation.
TickIterator Provides the mechanism for Graduation objects to return the values and labels of their ticks one tick at a time.

Class Summary
AbstractGraduation Base class for graduation.
Axis2D An axis as a graduated line.
DateGraduation A graduation using dates on a linear axis.
LogarithmicNumberGraduation A graduation using numbers on a logarithmic axis.
NumberGraduation A graduation using numbers on a linear axis.

Package org.geotools.axis Description

Support for drawable axis with graduation. Axis objects (Axis2D) are lines (Line2D) with a graduation (Graduation). Axis are graduated from the starting point (Line2D.getP1()) to the end point (Line2D.getP2()). Since axis can have arbitrary starting and end points (usually expressed in pixel coordinates), axis can be located anywhere in a widget and have any direction: vertical, horizontal, inclined, increasing up or down, etc. Two axis don't have to be perpendicular. As long as they are not parallel, it is always possible to construct an AffineTransform mapping logical values to pixel coordinates on any arbitrary axis, no matter their orientation.

Copyright © GeoTools. All Rights Reserved.