 			_lineColor = color;
 		}
 
-		/**
-		 * Draw a rectangle onto the graphics. 
-		 * @param xStart
-		 * @param yStart
-		 * @param width
-		 * @param height
-		 */
 		public function drawRect(xStart:Number, yStart:Number, width:Number, height:Number, corner:uint = TOP_LEFT):void
 		{
 			moveTo(xStart, yStart);

﻿/* 
DashedLine class
by Andy Woodruff (http://cartogrammar.com/blog || awoodruff@gmail.com)
May 2008

			_startIndex = 0;
		}
		
		private function lengthsAllZero():Boolean {
			for each (var num:uint in _lengthsArray)
				if (num > 0) return false;
				
			return true;
		}

		private const parser:CSVParser = new CSVParser();
		
		public function lineTo(x:Number,y:Number):void{
			if (lengthsArray.length == 0 || lengthsAllZero())
				this.lengthsArray.push(DEFAULT_GAP_LENGTH, DEFAULT_LINE_LENGTH);

			var slope:Number = (y - _curY)/(x - _curX);	// get slope of segment to be drawn
			// record beginning x and y
			var startX:Number = _curX;
