KmlImageCoordinate

A KML image coordinate object. According to the OGC 2.3 specification in section 16.26.2 (https://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 (either via the KmlImageCoordinate.xUnits and KmlImageCoordinate.yUnits properties or via the KmlImageCoordinate.KmlImageCoordinate(Double, Double, KmlUnitsType, KmlUnitsType) constructor) to establish the KML image coordinate system. The KmlUnitsType.Pixels and KmlUnitsType.InsetPixels image coordinate systems are defined with device-independent pixels (DIPs).

Since

200.1.0

Constructors

Link copied to clipboard
constructor(x: Double, y: Double, xUnits: KmlUnitsType, yUnits: KmlUnitsType)

Creates a KML image coordinate.

Properties

Link copied to clipboard
val x: Double

The x component of a point. The default value is 1.0.

Link copied to clipboard

Units in which the x value is specified. The default value is fraction.

Link copied to clipboard
val y: Double

The y component of a point. The default value is 1.0.

Link copied to clipboard

Units in which the y value is specified. The default value is fraction.