Adobe Photoshop CS5 Object Library JS: ShapeOperation

Photoshop CS5

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

Value

NameDescriptionValue
ShapeOperation.SHAPEADDAdds the shapes. int 1
ShapeOperation.SHAPEINTERSECTThe resulting shape is the area of intersection between the two shapes. int 3
ShapeOperation.SHAPESUBTRACTSubtracts the loaded shape from the selection is the destination image. int 4
ShapeOperation.SHAPEXORReplaces the shape in the destination image with the loaded selection. int 2

Usage

As property

SubPathInfo.operation

SubPathItem.operation

Jongware, 28-Aug-2012 v3.0.3iContents :: Index