KmlImageCoordinate constructor

KmlImageCoordinate({
  1. required double x,
  2. required double y,
  3. required KmlUnitsType xUnits,
  4. required KmlUnitsType yUnits,
})

Creates a KML image coordinate.

Parameters:

  • x — The x component of a point. Default is 0.5.
  • y — The y component of a point. Default is 0.5.
  • xUnits — Units in which the x value is specified. Default is KmlUnitsType.fraction.
  • yUnits — Units in which the y value is specified. Default is KmlUnitsType.fraction.