Skip To Content ArcGIS for Developers Sign In Dashboard

KmlImageCoordinate QML Type

A KML image coordinate object. More...

Import Statement: import Esri.ArcGISRuntime 100.9
Since: Esri.ArcGISRuntime 100.7
Inherits:

Object

Properties

  • x : double
  • xUnits : Enums.KmlUnitsType
  • y : double
  • yUnits : Enums.KmlUnitsType

Signals

Detailed Description

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 (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 device- independent pixels (Enums.KmlUnitsTypePixels or Enums.KmlUnitsTypeInsetPixels), it will be rounded down to a whole number (e.g. 2.243 will be rounded to 2.0).

Property Documentation

x : double

The x component of a point.

Note: This property can only be set during instantiation.


xUnits : Enums.KmlUnitsType

Units in which the x value is specified.

Note: This property can only be set during instantiation.


y : double

The y component of a point.

Note: This property can only be set during instantiation.


yUnits : Enums.KmlUnitsType

Units in which the y value is specified.

Note: This property can only be set during instantiation.


Signal Documentation

xChanged()

Emitted when the x property changes.

Note: The corresponding handler is onXChanged.


xUnitsChanged()

Emitted when the xUnits property changes.

Note: The corresponding handler is onXUnitsChanged.


yChanged()

Emitted when the y property changes.

Note: The corresponding handler is onYChanged.


yUnitsChanged()

Emitted when the yUnits property changes.

Note: The corresponding handler is onYUnitsChanged.



Feedback on this topic?