Example #1
0
 public StyleGroupIcon(ExtendedIconCode iconIndex, System.Drawing.Color color)
 {
     id = "icon-" + (int)iconIndex + "-" + KmlStyles.HexConverter(color);
     styleIconNormal = new StyleIcon("1", "0", color)
     {
         id = id + "-normal"
     };
     styleIconHighLight = new StyleIcon("1", "1", color)
     {
         id = id + "-highlight"
     };
     styleMap = new StyleMap(styleIconNormal.id, styleIconHighLight.id)
     {
         id = id
     };
 }
Example #2
0
 public IconStyle(string scale, System.Drawing.Color color)
 {
     this.scale = scale;
     this.color = KmlStyles.HexConverter(color);
 }
Example #3
0
 public LineStyle(System.Drawing.Color color, double width = 1)
 {
     this.color = KmlStyles.HexConverter(color);
     this.width = width;
 }