package com.exanimo.geom { /** * * Defines a dimension; and object that stores a width and height. * * @langversion ActionScript 3 * @playerversion Flash 9.0.0 * * @author Matthew Tretter (matthew@exanimo.com) * */ public class Dimension { private var _height:Number; private var _width:Number; /** * * Creates an new Dimension object. * */ public function Dimension(width:Number, height:Number) { this.width = width; this.height = height; } // // accessors // /** * * The width. * */ public function get width():Number { return this._width; } /** * @private */ public function set width(width:Number):void { this._width = width; } /** * * The height. * */ public function get height():Number { return this._height; } /** * @private */ public function set height(height:Number):void { this._height = height; } } }