subtract(shape)
Class: Polygon. Method inherited from Shape.
Description:
Removes an area of a specified shape from this shape. Stroke of this shape is kept (stroke of another shape is disregarded).
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
Another shape object that would be subtracted from this shape. |
Returns:
Returns this shape for method chaining.
Type: this
