MCPcopy Create free account
hub / github.com/Snapchat/Valdi / setBackgroundColor

Method setBackgroundColor

snap_drawing/src/snap_drawing/cpp/Layers/Layer.cpp:387–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385}
386
387void Layer::setBackgroundColor(Color backgroundColor) {
388 if (_backgroundColor != backgroundColor) {
389 _backgroundColor = backgroundColor;
390 setNeedsDisplay();
391 }
392}
393
394void Layer::setBackgroundLinearGradient(std::vector<Scalar>&& locations,
395 std::vector<Color>&& colors,

Callers 4

makeLayerRootMethod · 0.80
TESTFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 4

makeLayerRootMethod · 0.64
TESTFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64