addTo(container, index)

Class: Shape.

Description:

Add this shape to a container.

Parameters:

Name Type Description

container

ShapeContainer

Panel or Window component.

index

number

Optional index to insert the shape.

Returns:

Returns this Shape instance for chaining.

Type: Shape

Throws:

Also See: