MCPcopy Create free account
hub / github.com/HumbleUI/Skija / notifyDrawingChanged

Method notifyDrawingChanged

shared/java/Drawable.java:107–113  ·  view source on GitHub ↗

Calling this invalidates the previous generation ID, and causes a new one to be computed the next time getGenerationId() is called. Typically this is called by the object itself, in response to its internal state changing.

()

Source from the content-addressed store, hash-verified

105 * in response to its internal state changing.
106 */
107 @ApiStatus.NonExtendable
108 public Drawable notifyDrawingChanged() {
109 Stats.onNativeCall();
110 _nNotifyDrawingChanged(_ptr);
111 _bounds = null;
112 return this;
113 }
114
115 @ApiStatus.OverrideOnly
116 public abstract void onDraw(Canvas canvas);

Callers 3

setColorMethod · 0.80
setTextMethod · 0.80

Calls 2

onNativeCallMethod · 0.95

Tested by

no test coverage detected