/src/com/google/maps/extras/xmlparsers/kml/LineStyle.as
ActionScript | 24 lines | 16 code | 5 blank | 3 comment | 0 complexity | eaa2d3d69c775e0261deec9e1133234f MD5 | raw file
1/* Added by Cecil M. Reid (cmR) 2 * cecilmreid@gmail.com 3*/ 4 5package com.google.maps.extras.xmlparsers.kml 6{ 7 import com.google.maps.extras.xmlparsers.ParsingTools; 8 9 public class LineStyle extends ColorStyle 10 { 11 private var _width:Number; 12 13 public function LineStyle(x:XMLList) 14 { 15 super(x); 16 this._width = ParsingTools.nanCheck(this.x.kml::width); 17 } 18 19 public function get width():Number{ 20 return this._width; 21 } 22 23 } 24}