Class KmlImageCoordinate

    • 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:
        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