The FileLayer class A file layer is a layer that can reference an external image and show said reference in the layer stack.
If the external image is updated, Krita will try to update the file layer image as well.
Methods
Member documentation
returns the filter with which the file referenced is scaled.
Return
(no description provided) |
returns how the file referenced is scaled.
Return
one of the following:
|
Change the properties of the file layer.
Parameters
fileName | - A String containing the absolute file name. |
scalingMethod | - a string with the scaling method, defaults to "None", other options are "ToImageSize" and "ToImagePPI" |
scalingFilter | - a string with the scaling filter, defaults to "Bicubic", other options are "Hermite", "NearestNeighbor", "Bilinear", "Bell", "BSpline", "Lanczos3", "Mitchell" |
Krita has several types of nodes, split in layers and masks. Group layers can contain other layers, any layer can contain masks.
Return
"filelayer" |