|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CanvasState
Describe the current state of a canvas. The information contained by instances of this interface should only describe the viewing area or volume of the canvas and should not contain any state information regarding the data contained within it.
When an instance of this class is returned from Canvas methods, a "snapshot"
of the current state of the canvas is taken and the values will never change (even
if the canvas changes state).
| Method Summary | |
|---|---|
DirectPosition |
getCenter()
Returns the position of the center point of the canvas. |
CoordinateReferenceSystem |
getDisplayCRS()
Returns the Coordinate Reference System associated with the display of the canvas. |
MathTransform |
getDisplayToObjectiveTransform()
Returns the transform from display to objective CRS. |
CoordinateReferenceSystem |
getObjectiveCRS()
Returns the "real world" Coordinate Reference System. |
MathTransform |
getObjectiveToDisplayTransform()
Returns the transform from objective to display CRS. |
InternationalString |
getTitle()
Returns the title of the canvas. |
| Method Detail |
|---|
InternationalString getTitle()
CanvasController.setTitle(org.opengis.util.InternationalString)DirectPosition getCenter()
CanvasController.setCenter(org.opengis.geometry.DirectPosition)CoordinateReferenceSystem getObjectiveCRS()
CanvasController.setObjectiveCRS(org.opengis.referencing.crs.CoordinateReferenceSystem)CoordinateReferenceSystem getDisplayCRS()
This CRS can be implemented as a derived CRS based on the objective CRS. In such implementations, the display CRS changes after every zoom or translation action.
MathTransform getObjectiveToDisplayTransform()
getDisplayCRS().getConversionFromBase().getMathTransform()
This transform is typically (but is not required to be) affine. When this transform is
affine, then the scale factors (the coefficients on the matrix diagonal when there is
no rotation or shear) are the map scale along the corresponding axis.
MathTransform getDisplayToObjectiveTransform()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||