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

Method drawPaint

shared/java/Canvas.java:1039–1047  ·  view source on GitHub ↗
(@NotNull Paint paint)

Source from the content-addressed store, hash-verified

1037 }
1038
1039 @NotNull @Contract("_ -> this")
1040 public Canvas drawPaint(@NotNull Paint paint) {
1041 assert _ptr != 0 : "Canvas is closed";
1042 assert paint != null : "Can’t drawPaint with paint == null";
1043 Stats.onNativeCall();
1044 _nDrawPaint(_ptr, Native.getPtr(paint));
1045 ReferenceUtil.reachabilityFence(paint);
1046 return this;
1047 }
1048
1049 /**
1050 * <p>For SVG and PDF backends, makes a link over the rectangle to the specified URL.

Callers 3

drawClipsMethod · 0.80
drawRegionsMethod · 0.80

Calls 4

onNativeCallMethod · 0.95
_nDrawPaintMethod · 0.95
getPtrMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by

no test coverage detected