Class KmlImageCoordinate

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getX()
      Gets the x component of a point on the screen.
      KmlUnitsType getXUnits()
      The units in which the x value is specified.
      double getY()
      Gets the y component of a point on the screen.
      KmlUnitsType getYUnits()
      The units in which the y value is specified.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KmlImageCoordinate

        public KmlImageCoordinate​(double x,
                                  double y,
                                  KmlUnitsType xUnitsType,
                                  KmlUnitsType yUnitsType)
        Constructs a KmlImageCoordinate.
        Parameters:
        x - x component of a point on the screen. Default is 0.5.
        y - y component of a point on the screen. Default is 0.5.
        xUnitsType - units in which the x value is specified. Default is KmlUnitsType.FRACTION.
        yUnitsType - units in which the y value is specified. Default is KmlUnitsType.FRACTION.
        Throws:
        java.lang.IllegalArgumentException - if xUnitsType or yUnitsType is null
        Since:
        100.6.0
    • Method Detail

      • getX

        public double getX()
        Gets the x component of a point on the screen.
        Returns:
        x component of a point on the screen
        Since:
        100.6.0
      • getY

        public double getY()
        Gets the y component of a point on the screen.
        Returns:
        y component of a point on the screen
        Since:
        100.6.0
      • getXUnits

        public KmlUnitsType getXUnits()
        The units in which the x value is specified.
        Returns:
        a KmlUnitsType
        Since:
        100.6.0
      • getYUnits

        public KmlUnitsType getYUnits()
        The units in which the y value is specified.
        Returns:
        a KmlUnitsType
        Since:
        100.6.0