MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / getColor

Method getColor

Source/CircleWave.cpp:49–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49Color4B CircleWave::getColor()
50{
51 return {(uint8_t)(_color.r * 255.f), (uint8_t)(_color.g * 255.f), (uint8_t)(_color.b * 255.f), (uint8_t)(_color.a * 255.f)};
52}
53
54bool CircleWave::init(float duration, Color4B color, float radiusMin, float radiusMax, bool easing, float lineWidth, bool filled)
55{

Callers 6

drawPropertiesFunction · 0.80
to_jsonMethod · 0.80
initMethod · 0.80
getMainColorMethod · 0.80
getSecondaryColorMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected