 
 package spark.primitives
 {
-import flash.events.EventDispatcher;
 import flash.display.Graphics;
 import flash.geom.Matrix;
 import flash.geom.Point;

    override public function getLayoutBoundsY(postLayoutTransform:Boolean = true):Number
    {
        var stroke:Number = - getStrokeExtents(postLayoutTransform).y * 0.5;
        if (postLayoutTransform)
        {
            var m:Matrix = computeMatrix();
            if (m)
                return stroke + getRoundRectBoundingBox(width, height, radiusX, radiusY, m).y;
        }

        return stroke + this.y;
    }


import mx.core.mx_internal;
import mx.utils.MatrixUtil;

import spark.primitives.supportClasses.FilledElement;

use namespace mx_internal;

/**
 *  The Rect class is a filled graphic element that draws a rectangle.
