         if (!newSize)
             newSize = new Point(minWidth, minHeight);
 
-        return strokeExtents.x * -0.5 +
+        return strokeExtents.left +
             getRoundRectBoundingBox(newSize.x, newSize.y, radiusX, radiusY, m).x;
     }
 

        if (!newSize)
            newSize = new Point(minWidth, minHeight);

        return strokeExtents.y * -0.5 +
            getRoundRectBoundingBox(newSize.x, newSize.y, radiusX, radiusY, m).y;
    }


     */
    override public function getLayoutBoundsX(postLayoutTransform:Boolean = true):Number
    {
        var stroke:Number = getStrokeExtents(postLayoutTransform).left;
        if (postLayoutTransform && hasComplexLayoutMatrix)
            return stroke + getRoundRectBoundingBox(width, height, radiusX, radiusY, 
                                                    layoutFeatures.layoutMatrix).x;  
