Kirigami2
colorutils.h
28 Dark, /**< The item is dark and requires a light foreground color to achieve readable contrast. */
29 Light, /**< The item is light and requires a dark foreground color to achieve readable contrast. */
185 Q_INVOKABLE QColor tintWithAlpha(const QColor &targetColor, const QColor &tintColor, double alpha);
190 * CIELAB chroma may give a better quantification of how vibrant a color is compared to HSV saturation.
Q_INVOKABLE qreal grayForColor(const QColor &color)
Definition colorutils.cpp:29
Q_INVOKABLE QColor adjustColor(const QColor &color, const QJSValue &adjustments)
Definition colorutils.cpp:132
Q_INVOKABLE QColor alphaBlend(const QColor &foreground, const QColor &background)
Definition colorutils.cpp:34
Q_INVOKABLE QColor scaleColor(const QColor &color, const QJSValue &adjustments)
Definition colorutils.cpp:178
Q_INVOKABLE QColor tintWithAlpha(const QColor &targetColor, const QColor &tintColor, double alpha)
Definition colorutils.cpp:229
Q_INVOKABLE QColor linearInterpolation(const QColor &one, const QColor &two, double balance)
Definition colorutils.cpp:60
Q_INVOKABLE ColorUtils::Brightness brightnessForColor(const QColor &color)
Definition colorutils.cpp:20
Brightness
Light
Dark
Q_ENUM(...)
Q_INVOKABLEQ_INVOKABLE
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:46 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:46 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.