2 * SPDX-FileCopyrightText: 2017 Wolthera van Hövell tot Westerflier <[email protected]>
30 nodeData = QByteArray.fromBase64(b"AAAAAAAAAAAAAAAAEQYMBhEGDP8RBgz/EQYMAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARBgz5EQYM/xEGDAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEQYMAhEGDAkRBgwCAAAAAAAAAAAAAAAA");
67 ~ColorizeMask() override;
68 public Q_SLOTS:
86 QList<ManagedColor*> keyStrokesColors() const;
94 void initializeKeyStrokeColors(QList<ManagedColor*> colors, int transparentIndex = -1);
101 void removeKeyStroke(ManagedColor* color);
170 * @param value a float value from 0.0 to 100.00 where 0.0 is no cleanup is done and 100.00 is most aggressive.
176 * @return a float value of 0.0 to 100.0 representing the cleanup amount where 0.0 is no cleanup is done and 100.00 is most aggressive.
182 * Limit the colorize mask to the combined layer bounds of the strokes and the line art it is filling. This can speed up the use of the mask on complicated compositions, such as comic pages.
virtual QString type() const
type Krita has several types of nodes, split in layers and masks.
The ColorizeMask class A colorize mask is a mask type node that can be used to color in line art.
The ManagedColor class is a class to handle colors that are color managed.