shapes([shapes])
Class: Panel.
Description:
Gets an array of shapes currently added to the component, or sets an array of new shapes while replacing existing ones.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
Array.<Shape> |
An array of Shape objects, such as Rectangle, Line, Ellipse, etc. |
Returns:
Arraythis component instance is returned for chaining.
