 import mx.filters.BaseFilter;
 import mx.filters.IBitmapFilter;
 import mx.graphics.IStroke;
+import flash.geom.Point;
+import flash.display.LineScaleMode;
 
 use namespace mx_internal;
 

    protected function beginDraw(g:Graphics):void
    {
        if (stroke)
            stroke.draw(g,new Rectangle(drawX + measuredX, 
            						    drawY + measuredY, 
            						    Math.max(width, stroke.weight), 
            						    Math.max(height, stroke.weight)));

     *  @playerversion AIR 1.5
     *  @productversion Flex 4
     */
    protected function draw(g:Graphics):void
    {
        // override to do your drawing
    }
