| <p style="margin: 5px 5px 0px 5px;"> |
| Construct a new Shape object. |
| </p> |
| <p style="margin: 5px 5px 0px 5px;"> |
| This is the basic Shape class. |
| It can be considered an abstract class, even though no such thing |
| really existing in JavaScript |
| </p> |
| <h3 style="margin: 10px 0px 5px 0px">Returns:</h3> |
| <table style="margin-left: 10px;"> |
| <tr> |
| <td valign="top" style="margin-right:5px;"><b>Type:</b></td> |
| <td valign="top">Shape | Coordinate</td> |
| </tr> |
| <tr> |
| <td valign="top" style="margin-right:5px;"><b>Description:</b></td> |
| <td valign="top">A new shape.</td> |
| </tr> |
| </table> |
| <h4 style="margin: 10px 0px 5px 0px">Throws:</h4> |
| <table style="margin-left: 10px;"> |
| <tr> |
| <td valign="top">MemoryException</td> |
| <td valign="top">if there is no more memory</td> |
| </tr> |
| <tr> |
| <td valign="top">GeneralShapeException</td> |
| <td valign="top">rarely (if ever)</td> |
| </tr> |
| </table> |