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

Method drawDrawable

shared/java/Canvas.java:805–808  ·  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

803 * @return this
804 */
805 @NotNull @Contract("_ -> this")
806 public Canvas drawDrawable(@NotNull Drawable drawable) {
807 return drawDrawable(drawable, null);
808 }
809
810 /**
811 * <p>Draws Drawable drawable using clip and matrix, offset by (x, y).</p>

Callers 2

drawMethod · 0.80

Calls 4

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

Tested by

no test coverage detected