The ShapeLayer object represents a shape layer within a composition. Create it using the LayerCollection object’s addShape() method; see LayerCollection addShape() method”. 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” and “AVLayer object” .