Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ setEndColor
Method
setEndColor
core/2d/Layer.cpp:283–287 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
281
}
282
283
void LayerGradient::setEndColor(const Color3B& color)
284
{
285
_endColor = color;
286
updateColor();
287
}
288
289
const Color3B& LayerGradient::getEndColor() const
290
{
Callers
4
setBackGroundColorType
Method · 0.80
setBackGroundColor
Method · 0.80
LayerExtendedBlendOpacityTest
Method · 0.80
onEnter
Method · 0.80
Calls
3
updateColor
Function · 0.85
setEndColor
Function · 0.85
Color4B
Function · 0.85
Tested by
2
LayerExtendedBlendOpacityTest
Method · 0.64
onEnter
Method · 0.64