MCPcopy Create free account
hub / github.com/antvis/F2Native / GetColorWithInt

Method GetColorWithInt

core/token/DarkModeManager.cpp:54–61  ·  view source on GitHub ↗

Android

Source from the content-addressed store, hash-verified

52
53// Android
54int DarkModeManager::GetColorWithInt(const int colorInt) {
55 int result = colorInt;
56 if (!this->isDarkMode_) {
57 return result;
58 }
59 result = ReplaceColor(colorInt);
60 return result;
61}
62
63// iOS
64void DarkModeManager::GetColorWithRGHA(canvas::CanvasColor &beforeCanvasColor) {

Callers 3

GetGradientColorsMethod · 0.80
SetFillStyleMethod · 0.80
SetStrokeStyleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected