MCPcopy Create free account
hub / github.com/JetBrains/skija / setColor

Method setColor

examples/scenes/src/DrawableScene.java:98–103  ·  view source on GitHub ↗
(int color)

Source from the content-addressed store, hash-verified

96 }
97
98 public void setColor(int color) {
99 this.color = color;
100 var prevGen =getGenerationId();
101 notifyDrawingChanged();
102 // System.out.println(prevGen + " -> " + getGenerationId() + " Drawable::notifyDrawingChanged");
103 }
104
105 public void setText(String text) {
106 this.text = text;

Callers 3

drawMethod · 0.95
DrawableSceneClass · 0.45
onDrawMethod · 0.45

Calls 2

notifyDrawingChangedMethod · 0.80
getGenerationIdMethod · 0.45

Tested by

no test coverage detected