     }
 
     public static function transform(
-        rect:Rectangle,
+        rect:Object,
         xFactor:Number, yFactor:Number,
         xOffset:Number, yOffset:Number,
-        out:Rectangle = null):Rectangle
+        out:Object = null):Object
     {
         if (!out) out = new Rectangle();
         out.x = rect.x * xFactor + xOffset;

        return out;
    }

    public static function setArea(
        rect:Rectangle, area:Number, out:Rectangle = null):Rectangle
    {
        if (!out) out = new Rectangle();
        var areaRatio:Number = Math.sqrt(area / (rect.width * rect.height));

    }

    public static function roundIn(
        rect:Object, out:Object = null):Object
    {
        if (!out) out = new Rectangle();

