#include <SimplePalette.h>
◆ Mode
Mode for generation of colors.
Enumerator |
---|
ShiftRgb | |
ShiftHsv | |
ShiftHsl | |
◆ SimplePalette()
sf::SimplePalette::SimplePalette |
( |
const Parameters & |
| ) |
|
|
explicit |
◆ addPropertyPages()
◆ getColorTable()
ColorTable sf::SimplePalette::getColorTable |
( |
| ) |
const |
|
overridevirtual |
◆ getCurveLevel()
qreal sf::SimplePalette::getCurveLevel |
( |
qreal |
x | ) |
const |
|
overridevirtual |
Gets calculated level for color shifts.
Used in calculation of colors and drawing a curve when configuring.
- Parameters
-
x | Value between 0.0 and 1.0. |
- Returns
- Value between 0.0 and 1.0.
Implements sf::PaletteInterface.
◆ Q_ENUM()
sf::SimplePalette::Q_ENUM |
( |
Mode |
| ) |
|
◆ colorCenter
QColor sf::SimplePalette::colorCenter |
|
readwrite |
◆ colorFrom
QColor sf::SimplePalette::colorFrom |
|
readwrite |
◆ colorTo
QColor sf::SimplePalette::colorTo |
|
readwrite |
◆ formula
QString sf::SimplePalette::formula |
|
readwrite |
◆ mode
Mode sf::SimplePalette::mode |
|
readwrite |
The documentation for this class was generated from the following file: