ArcGIS Runtime SDK for iOS: AGSKMLImageCoordinate.h File Reference
ArcGIS Runtime SDK for iOS  100.15
AGSKMLImageCoordinate.h File Reference

Go to the source code of this file.

Enumerations

enum  AGSKMLUnitsType { AGSKMLUnitsTypeFraction = 0 , AGSKMLUnitsTypePixels = 1 , AGSKMLUnitsTypeInsetPixels = 2 }
 

Enumeration Type Documentation

◆ AGSKMLUnitsType

A KML units type object.

Use the AGSKMLUnitsType enumeration (either via the AGSKMLImageCoordinate::xUnits and AGSKMLImageCoordinate::yUnits properties or via the initWithX:y:xUnits:yUnits: (AGSKMLImageCoordinate) constructor) 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 (AGSKMLUnitsTypePixels or AGSKMLUnitsTypeInsetPixels), it will be rounded down to a whole number (e.g. 2.243 will be rounded to 2.0).

Since
100.6
Enumerator
AGSKMLUnitsTypeFraction 

Fraction is the default value. Treat the x/y value as a fraction of the width/height.

AGSKMLUnitsTypePixels 

Treat the x/y value as an integral number of device-independent pixels (DIPs).

AGSKMLUnitsTypeInsetPixels 

Treat the x/y value as an integral number of device-independent pixels (DIPs) from the top right corner.