MCPcopy Create free account
hub / github.com/Tencent/tgfx / setColor

Method setColor

src/core/PlaybackContext.cpp:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void PlaybackContext::setColor(const Color& color) {
51 if (fillModifier) {
52 lastOriginalFill.color = color;
53 _fill = fillModifier->transform(lastOriginalFill);
54 } else {
55 _fill.color = color;
56 }
57}
58
59void PlaybackContext::setFill(const Fill& fill) {
60 if (fillModifier) {

Callers 1

playbackMethod · 0.45

Calls 1

transformMethod · 0.45

Tested by

no test coverage detected