Class FillLayer
Build from FillLayer.h
Krita 4.0.0

The FillLayer class A fill layer is much like a filter layer in that it takes a name and filter. It however specializes in filters that fill the whole canvas, such as a pattern or full color fill.

Methods

filterConfig()InfoObject generatorName()str setGenerator(generatorName: str, filterConfig: InfoObject)bool

Re-implemented methods

type()str

Member documentation

Krita 4.0.0

Return

(no description provided)

generatorName()str
Krita 4.0.0

Return

(no description provided)

setGenerator(generatorName: str, filterConfig: InfoObject)bool
Krita 4.0.0

set the given generator for this fill layer

Parameters

generatorName

"pattern" or "color"

filterConfig

a configuration object appropriate to the given generator plugin

Return

true if the generator was correctly created and set on the layer

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

The type of the node. Valid types are:

  • paintlayer

  • grouplayer

  • filelayer

  • filterlayer

  • filllayer

  • clonelayer

  • vectorlayer

  • transparencymask

  • filtermask

  • transformmask

  • selectionmask

  • colorizemask

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