KmlIconStyle Class
| Namespace | Skybrud.Essentials.Maps.Kml.Styles |
|---|---|
| Assembly | Skybrud.Essentials.Maps.dll |
| Visibility | Public |
| Inheritance |
Specifies how icons for point KmlPlacemark's are drawn. The KmlIconStyle.Icon property specifies
the icon image. The KmlIconStyle.Scale property specifies the x, y scaling of the icon. The color
specified in the KmlColorStyle.Color element of KmlIconStyle is blended with the
color of KmlIconStyle.Icon.
public class KmlIconStyle : KmlColorStyle { }
Properties
| Type | Name | Summary |
|---|---|---|
| Single | Scale |
Gets or sets the scale of the icon. |
| int | Heading |
Gets or sets the direction (that is, North, South, East, West), in degrees. Default=0 (North). Values range from 0 to 360 degrees. |
| KmlIcon | Icon |
Gets or sets a custom icon. |
| String | Id (inherited from KmlColorStyle) | |
| String | Color (inherited from KmlColorStyle) |
Color and opacity (alpha) values are expressed in hexadecimal notation. The range of values for any one
color is 0 to 255 ( |
| KmlColorMode | ColorMode (inherited from KmlColorStyle) |
Values for KmlColorStyle.ColorMode are Normal (no effect) and Random. A value of Random applies a random linear scale to the base KmlColorStyle.Color as follows:
|
Methods
|
Parse(XElement, XmlNamespaceManager)
(static)
|
|
ToXElement()
(virtual)
|
Inherited from KmlObject |
|
NewXElement()
(virtual)
|
|
NewXElement(string)
(virtual)
|