Class SelectionMask
Build from SelectionMask.h
Krita 4.0.0

The SelectionMask class A selection mask is a mask type node that can be used to store selections. In the gui, these are referred to as local selections.

A selection mask can hold both raster and vector selections, though the API only supports raster selections.

Methods

selection()Selection setSelection(selection: Selection)

Re-implemented methods

type()str

Member documentation

Krita 4.0.0

Return

(no description provided)

setSelection(selection: Selection)
Krita 4.0.0

Parameters

selection(no description provided)
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

selectionmask

If the Node object isn't wrapping a valid Krita layer or mask object, and empty string is returned.