KmlUnitsType enum
A KML units type object.
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. 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 (KmlUnitsType.pixels or KmlUnitsType.insetPixels), it will be rounded down to a whole number (e.g. 2.243 will be rounded to 2.0).
Values
- fraction → const KmlUnitsType
-
Fraction is the default value. Treat the x/y value as a fraction of the width/height.
- pixels → const KmlUnitsType
-
Treat the x/y value as an integral number of device-independent pixels (DIPs).
- insetPixels → const KmlUnitsType
-
Treat the x/y value as an integral number of device-independent pixels (DIPs) from the top right corner.
Properties
- coreValue → RT_KMLUnitsType
-
Convert to internal value.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
-
values
→ const List<
KmlUnitsType> - A constant List of the values in this enum, in order of their declaration.