Skip To Content ArcGIS for Developers Sign In Dashboard

KmlImageCoordinate Class

(Esri::ArcGISRuntime::KmlImageCoordinate)

A KML image coordinate object. More...

Header: #include <KmlImageCoordinate>
Since: Esri::ArcGISRuntime 100.7
Inherits: Object

Public Functions

KmlImageCoordinate(double x, double y, KmlUnitsType xUnits, KmlUnitsType yUnits, QObject *parent = nullptr)
~KmlImageCoordinate()
double x() const
KmlUnitsType xUnits() const
double y() const
KmlUnitsType yUnits() const
  • 31 public functions inherited from QObject

Additional Inherited Members

Detailed Description

A KML image coordinate object.

According to the OGC 2.3 specification in section 16.26.2 (http://docs.opengeospatial.org/is/12-007r2/12-007r2.html#1254) "Specifies an image coordinate system. The x and y values may each be specified in three different ways - as pixels (pixels), as fractions of the icon (fraction), or as inset pixels (insetPixels), which is an offset in pixels from the upper right corner of the icon. They may or may not be specified in a consistent manner - for example, x can be specified in pixels and y as a fraction." Use the KMLUnitsType enumeration to establish the KML image coordinate system.

Member Function Documentation

KmlImageCoordinate::KmlImageCoordinate(double x, double y, KmlUnitsType xUnits, KmlUnitsType yUnits, QObject *parent = nullptr)

*

Creates a KML image coordinate.

  • x - The x component of a point.
  • y - The y component of a point.
  • xUnits - Units in which the x value is specified.
  • yUnits - Units in which the y value is specified.
  • parent - An optional parent.

KmlImageCoordinate::~KmlImageCoordinate()

Destructor

double KmlImageCoordinate::x() const

The x component of a point.

KmlUnitsType KmlImageCoordinate::xUnits() const

Units in which the x value is specified.

double KmlImageCoordinate::y() const

The y component of a point.

KmlUnitsType KmlImageCoordinate::yUnits() const

Units in which the y value is specified.


Feedback on this topic?