OptionalblendBlend mode of the newly created layer or group.
OptionalcolorLabel color of the newly created layer or group.
OptionalfillWhether to fill the layer with a neutral color when applying Blend Mode.
OptionalgroupWhether to use previous layer to create clipping mask.
OptionalmodeDeprecated, please use blendMode above as it will override this value.
OptionalnameName of the newly created layer. If no value is provided, then a name will be generated following the template, "Layer #".
OptionalopacityOpacity of the newly created layer or group.
An object literal can be constructed with any of the following properties and passed to Document.createLayer. As a type,
PixelLayerCreateOptionscan be used in Typescript development.Targetfolder
objects/createoptions
Optionobject
Min Version
22.5