         // otherwise subsequent fills could get messed up.
         g.beginFill(0, 0);
     }
-    
+
     /**
      *  Draw the element. This is the second of three steps taken during the drawing
      *  process. Override this method to implement your drawing. The stroke

    protected function endDraw(g:Graphics):void
    {
        g.endFill();
    }
    
    /**
     *  @private
     */  

    protected function beginDraw(g:Graphics):void
    {
        if (stroke)
        {
            var strokeBounds:Rectangle = getStrokeBounds();
            strokeBounds.offset(drawX, drawY);
            stroke.apply(g, strokeBounds, new Point(drawX, drawY));
        }
        else
            g.lineStyle();
            
