Enums.KmlUnitsType enumeration

  • QML Enumeration List
  • Enums.KmlUnitsType enumeration
  • Use the KMLUnitsType enumeration (either via the KMLImageCoordinate.xUnits and KMLImageCoordinate.yUnits properties) to establish the KML image coordinate system. Values of type fraction must be between 0.0 and 1.0. Values below 0.0 will be set to 0.0, and values above 1.0 will be set to 1.0. If a non-integral number is specified with a unit type of pixels or insetPixels, it will be rounded down to a whole number (e.g. 2.243 will be rounded to 2.0).

    The KmlUnitsType can be one of:

    Enums.KmlUnitsTypeFraction(0) Fraction is the default value. Treat the x/y value as a fraction of the width/height.
    Enums.KmlUnitsTypePixels(1) Treat the x/y value as an integral number of pixels.
    Enums.KmlUnitsTypeInsetPixels(2) Treat the x/y value as an integral number of pixels from the top right corner.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.