1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
<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>
|