     }
 
 
+    /**
+     * Rounds each coordinate of a rectangle to the next integer away from its
+     * center.  The result is the smallest rectangle with integral coordinates
+     * that can entirely contain the input rectangle.
+     *
+     * @param rect    The rectangle-like object to round.
+     * @param out     An optional instance to store the result in.  If not
+     *                provided, a new Rectangle is created.
+     *
+     * @return  The object containing the rectangle with integral coordinates.
+     */
     public static function roundOut(
         rect:Object, out:Object = null):Object
     {

    }


    public static function scaleToArea(
        rect:Object, area:Number, out:Object = null):Object
    {

import flash.geom.Rectangle;


/**
 * Utility functions for manipulating rectangle-like objects, being any object
 * that has numeric x, y, width and height properties.  DisplayObjects can be
 * used, with the assumption that their registration points are in the top-left
 * corner, and their width and height values are reliable.
 */
public class RectUtil
{
    /**
     * Multiplies each coordinate in a rectangle by a scalar value.
     *
     * @param rect    The rectangle-like object to scale.
     * @param factor  The number to multiply by.
     * @param out     An optional instance to store the result in.  If not
     *                provided, a new Rectangle is created.
     *
     * @return  The object containing the multiplied rectangle.
     */
    public static function multiply(
        rect:Object, factor:Number, out:Object = null):Object
    {
