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

Method setColor

snap_drawing/src/snap_drawing/cpp/Layers/SpinnerLayer.cpp:151–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151void SpinnerLayer::setColor(Color color) {
152 if (_color != color) {
153 _color = color;
154 _innerCirclePaint.setColor(color);
155 _outerCirclePaint.setColor(color);
156
157 setNeedsDisplay();
158 }
159}
160
161} // namespace snap::drawing

Callers 11

setStrokeColorMethod · 0.45
setFillColorMethod · 0.45
drawTextDecorationsMethod · 0.45
drawTextMethod · 0.45
drawTextShadowsMethod · 0.45
setTextColorMethod · 0.45
SpinnerLayerMethod · 0.45
drawBackgroundMethod · 0.45
drawForegroundMethod · 0.45
setBoxShadowMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected