ShapeOperation

Specifies how to combine the shapes if the destination image already has a selection.

Values

Name

Description

Value

ShapeOperation.SHAPEADD

Adds the shapes.

1

ShapeOperation.SHAPEINTERSECT

The resulting shape is the area of intersection between the two shapes.

3

ShapeOperation.SHAPESUBTRACT

Subtracts the loaded shape from the selection is the destination image.

4

ShapeOperation.SHAPEXOR

Replaces the shape in the destination image with the loaded selection.

2

Object of

SubPathInfo.operation

SubPathItem.operation