Flutter Engine
The Flutter Engine
|
#include <SkGradientShader.h>
Public Types | |
enum class | InPremul : bool { kNo = false , kYes = true } |
enum class | ColorSpace : uint8_t { kDestination , kSRGBLinear , kLab , kOKLab , kOKLabGamutMap , kLCH , kOKLCH , kOKLCHGamutMap , kSRGB , kHSL , kHWB , kLastColorSpace = kHWB } |
enum class | HueMethod : uint8_t { kShorter , kLonger , kIncreasing , kDecreasing , kLastHueMethod = kDecreasing } |
Static Public Member Functions | |
static Interpolation | FromFlags (uint32_t flags) |
Public Attributes | |
InPremul | fInPremul = InPremul::kNo |
ColorSpace | fColorSpace = ColorSpace::kDestination |
HueMethod | fHueMethod = HueMethod::kShorter |
Static Public Attributes | |
static constexpr int | kColorSpaceCount = static_cast<int>(ColorSpace::kLastColorSpace) + 1 |
static constexpr int | kHueMethodCount = static_cast<int>(HueMethod::kLastHueMethod) + 1 |
Definition at line 71 of file SkGradientShader.h.
|
strong |
Enumerator | |
---|---|
kDestination | |
kSRGBLinear | |
kLab | |
kOKLab | |
kOKLabGamutMap | |
kLCH | |
kOKLCH | |
kOKLCHGamutMap | |
kSRGB | |
kHSL | |
kHWB | |
kLastColorSpace |
Definition at line 74 of file SkGradientShader.h.
|
strong |
Enumerator | |
---|---|
kShorter | |
kLonger | |
kIncreasing | |
kDecreasing | |
kLastHueMethod |
Definition at line 101 of file SkGradientShader.h.
|
strong |
|
inlinestatic |
Definition at line 116 of file SkGradientShader.h.
ColorSpace SkGradientShader::Interpolation::fColorSpace = ColorSpace::kDestination |
Definition at line 113 of file SkGradientShader.h.
HueMethod SkGradientShader::Interpolation::fHueMethod = HueMethod::kShorter |
Definition at line 114 of file SkGradientShader.h.
InPremul SkGradientShader::Interpolation::fInPremul = InPremul::kNo |
Definition at line 112 of file SkGradientShader.h.
|
staticconstexpr |
Definition at line 99 of file SkGradientShader.h.
|
staticconstexpr |
Definition at line 110 of file SkGradientShader.h.