addShape(shape, [index])
Class: Panel.
Description:
Adds a Shape to be drawn on the panel.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
Shape object to draw on this panel |
|
|
|
number |
Set only if you want to insert the Shape at a specific index |
Returns:
Returns this instance of the Panel.
Type: Panel
