Layer Configuration

Configuration objects are used to configure certain properties of a layer when they are added to a composition. The following property groups are adjustable:

All the configuration objects in a layerConfig are optional, and will be set to sensible defaults if unused. There are two ways to configure a layer; you can either pass a layerConfig object to the add<LayerType> method, or you can use the chainable setter methods on the layer class.