Class CloneLayer
Build from CloneLayer.h
+Krita 4.0.0↻Krita 5.2.0

The CloneLayer class A clone layer is a layer that takes a reference inside the image and shows the exact same pixeldata.

If the original is updated, the clone layer will update too.

Methods

setSourceNode(node: Node) sourceNode() ➞ Node

Re-implemented methods

type() ➞ str

Member documentation

+Krita 5.2.0

Parameters

node

the node to use as the source of the clone layer.

+Krita 5.2.0

Return

the node the clone layer is based on.

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

clonelayer