KmlImageCoordinate class final
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.new constructor) to establish the KML image
coordinate system. The KmlUnitsType.pixels and KmlUnitsType.insetPixels
image coordinate systems are defined with device-independent pixels (DIPs).
- Implemented types
Constructors
- KmlImageCoordinate({required double x, required double y, required KmlUnitsType xUnits, required KmlUnitsType yUnits})
-
Creates a KML image coordinate.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- x → double
-
The x component of a point.
no setter
- xUnits → KmlUnitsType
-
Units in which the x value is specified.
no setter
- y → double
-
The y component of a point.
no setter
- yUnits → KmlUnitsType
-
Units in which the y value is specified.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited