IconStyle class
Specifies how icons for point Placemarks are drawn, both in the Places panel and in the 3D viewer of Google Earth. The
- Inheritance
-
- Object
- ColorStyle
- IconStyle
Constructors
Properties
- color ↔ int?
-
Color and opacity (alpha) values are expressed in hexadecimal notation.
The range of values for any one color is 0 to 255 (00 to ff). For alpha,
00 is fully transparent and ff is fully opaque. The order of expression
is aabbggrr, where aa=alpha (00 to ff); bb=blue (00 to ff); gg=green
(00 to ff); rr=red (00 to ff). For example, if you want to apply a blue
color with 50 percent opacity to an overlay, you would specify the
following: , where alpha=0x7f, blue=0xff,
green=0x00, and red=0x00.
getter/setter pairinherited
- colorMode ↔ ColorMode?
-
Values for
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- heading ↔ double?
-
Direction (that is, North, South, East, West), in degrees.
Default=0 (North). (See diagram.) Values range from 0 to 360 degrees.
getter/setter pair
- iconUrl ↔ String?
-
An HTTP address or a local file specification used to load an icon.
It is a
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale ↔ double?
-
Resizes scale of the icon.
getter/setter pair
- x ↔ num?
-
the following 4 filed are attributes of hotSpot element, for example:
getter/setter pair
- xunit ↔ HotspotUnits?
-
xunits - Units in which the x value is specified. A value of fraction
indicates the x value is a fraction of the icon. A value of pixels
indicates the x value in pixels. A value of insetPixels indicates the
indent from the right edge of the icon.
getter/setter pair
- y ↔ num?
-
y - Either the number of pixels, a fractional component of the icon, or a
pixel inset indicating the y component of a point on the icon.
getter/setter pair
- yunit ↔ HotspotUnits?
-
yunits - Units in which the y value is specified. A value of fraction
indicates the y value is a fraction of the icon. A value of pixels
indicates the y value in pixels. A value of insetPixels indicates the
indent from the top edge of the icon.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override