org.opengis.go.display.canvas.map2d
Interface Map2DState
-
- All Superinterfaces:
- CanvasState
public interface Map2DState extends CanvasState
TheMap2DStateexplicitly names the properties necessary to define a rectangular, 2D canvas.- See Also:
Map2D
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description EnvelopegetEnvelope()Gets theEnvelopeof theCanvasrepresented by thisMap2DState.doublegetMapWidth(Unit unit)Gets the map width of theCanvasrepresented by thisMap2DState, in terms of the givenunit.intgetPixelHeight()Gets the pixel height of theCanvasrepresented by thisMap2DState.intgetPixelWidth()Gets the pixel width of theCanvasrepresented by thisMap2DState.doublegetScale()Gets the scale of theCanvasrepresented by thisMap2DState.-
Methods inherited from interface org.opengis.go.display.canvas.CanvasState
clone, equals, getCenter, getTitle
-
-
-
-
Method Detail
-
getPixelWidth
int getPixelWidth()
Gets the pixel width of theCanvasrepresented by thisMap2DState.- Returns:
- the pixel width
-
getPixelHeight
int getPixelHeight()
Gets the pixel height of theCanvasrepresented by thisMap2DState.- Returns:
- the pixel height
-
getMapWidth
double getMapWidth(Unit unit)
Gets the map width of theCanvasrepresented by thisMap2DState, in terms of the givenunit.- Parameters:
unit- theUnitfor the return value- Returns:
- the width in terms of the given
unit
-
getScale
double getScale()
Gets the scale of theCanvasrepresented by thisMap2DState.- Returns:
- the scale
-
getEnvelope
Envelope getEnvelope()
Gets theEnvelopeof theCanvasrepresented by thisMap2DState.- Returns:
- the envelope
-
-
DataMelt 3.0 © DataMelt by jWork.ORG