|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.geotools.gui.swing
package.
An interface for viewers that may be deformed by some artefacts. For example the
ZoomPane
viewer is capable to show a magnifying glass on top of
the usual content. The presence of a magnifying glass deforms the viewer in that
the apparent position of pixels within the glass are moved. The interface allows
for corrections of apparent pixel position in order to get the position we would
have if no deformations existed.
Method Summary | |
void |
correctApparentPixelPosition(java.awt.geom.Point2D point)
Deprecated. Corrects a pixel's coordinates for removing the effect of the any kind of deformations. |
Method Detail |
public void correctApparentPixelPosition(java.awt.geom.Point2D point)
point
is outside deformed areas (for example
outside the magnifier), then this method do nothing.point
in such a way that it contains the
position that the exact same pixel would have in the absence of deformations.
correctApparentPixelPosition
in interface DeformableViewer
point
- In input, a pixel's coordinate as it appears on the screen.
In output, the coordinate that the same pixel would have if
the deformation wasn't presents.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |