ShapeLayer objectΒΆ

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

Description

The ShapeLayer object represents a shape layer within a composition. Create it using LayerCollection.addShape(). 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.