Class GroupLayer
Build from GroupLayer.h
+Krita 4.0.0

The GroupLayer class A group layer is a layer that can contain other layers. In Krita, layers within a group layer are composited first before they are added into the composition code for where the group is in the stack. This has a significant effect on how it is interpreted for blending modes.

PassThrough changes this behaviour.

Group layer cannot be animated, but can contain animated layers or masks.

Methods

passThroughMode() ➞ bool setPassThroughMode(passthrough: bool)

Re-implemented methods

type() ➞ str

Member documentation

passThroughMode() ➞ bool
+Krita 4.0.0

Return

returns whether or not this layer is in passthrough mode. @see setPassThroughMode

setPassThroughMode(passthrough: bool)
+Krita 4.0.0

This changes the way how compositing works. Instead of compositing all the layers before compositing it with the rest of the image, the group layer becomes a sort of formal way to organise everything.

Passthrough mode is the same as it is in photoshop, and the inverse of SVG's isolation attribute(with passthrough=false being the same as isolation="isolate").

Parameters

passthrough

whether or not to set the layer to passthrough.

type() ➞ str
+Krita 4.0.0

Krita has several types of nodes, split in layers and masks. Group layers can contain other layers, any layer can contain masks.

Return

grouplayer