add(shape)

Class: Text. Method inherited from Shape.

Description:

Adds another shape to this shape. Stroke of this shape is kept (stroke of another shape is disregarded).

Parameters:

Name Type Description

shape

Shape

Another shape object that would be added to this shape.

Returns:

Returns this shape for method chaining.

Type: this