ShapeLayer object

app.project.item(index).layer(index)

The ShapeLayer object represents a shape layer within a composition. Create it using the LayerCollection object’s addShape() method; see “LayerCollection addShape() method” on page 97. It can be accessed in an item’s layer collection either by index number or by a name string.

  • ShapeLayer is a subclass of AVLayer, which is a subclass of Layer. All methods and attributes of AVLayer and Layer are available when working with ShapeLayer. See “Layer object” on page 86 and “AVLayer object” on page 38.