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

Method drawDrawable

shared/java/Canvas.java:954–957  ·  view source on GitHub ↗

Draws Drawable drawable using clip and matrix. If Canvas has an asynchronous implementation, as is the case when it is recording into Picture, then drawable will be referenced, so that Drawable::draw() can be called when the operation is finalized. To force immediate drawing, call Drawabl

(@NotNull Drawable drawable)

Source from the content-addressed store, hash-verified

952 * @return this
953 */
954 @NotNull @Contract("_ -> this")
955 public Canvas drawDrawable(@NotNull Drawable drawable) {
956 return drawDrawable(drawable, null);
957 }
958
959 /**
960 * <p>Draws Drawable drawable using clip and matrix, offset by (x, y).</p>

Callers 2

drawMethod · 0.80

Calls 5

makeTranslateMethod · 0.95
onNativeCallMethod · 0.95
_nDrawDrawableMethod · 0.95
getPtrMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by

no test coverage detected