Documentation of 'org.opengis.go.display.canvas.map2d.Map2DState' Java class
Map2DState
org.opengis.go.display.canvas.map2d

Interface Map2DState

  • All Superinterfaces:
    CanvasState


    public interface Map2DState
    extends CanvasState
    The Map2DState explicitly names the properties necessary to define a rectangular, 2D canvas.
    See Also:
    Map2D
    • Method Detail

      • getPixelWidth

        int getPixelWidth()
        Gets the pixel width of the Canvas represented by this Map2DState.
        Returns:
        the pixel width
      • getPixelHeight

        int getPixelHeight()
        Gets the pixel height of the Canvas represented by this Map2DState.
        Returns:
        the pixel height
      • getMapWidth

        double getMapWidth(Unit unit)
        Gets the map width of the Canvas represented by this Map2DState, in terms of the given unit.
        Parameters:
        unit - the Unit for the return value
        Returns:
        the width in terms of the given unit
      • getScale

        double getScale()
        Gets the scale of the Canvas represented by this Map2DState.
        Returns:
        the scale
      • getEnvelope

        Envelope getEnvelope()
        Gets the Envelope of the Canvas represented by this Map2DState.
        Returns:
        the envelope

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.