Changeset 6446
- Timestamp:
- 03/06/08 10:02:30 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Geometry/Rectangle.js
r5614 r6446 9 9 /** 10 10 * Class: OpenLayers.Geometry.Rectangle 11 * A Rectangle is a simple geometry. It is specified by a point (x and y) 12 * and dimensions (width and height), all of which are directly accessible 13 * as properties. 11 * This class is *not supported*, and probably isn't what you're looking for. 12 * Instead, most users probably want something like: 13 * (code) 14 * var poly = new OpenLayers.Bounds(0,0,10,10).toGeometry(); 15 * (end) 16 * This will create a rectangular Polygon geometry. 14 17 * 15 18 * Inherits:
