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

Method quickReject

shared/java/Canvas.java:379–389  ·  view source on GitHub ↗
(@NotNull Rect r)

Source from the content-addressed store, hash-verified

377 }
378
379 @NotNull @Contract("_ -> this")
380 public boolean quickReject(@NotNull Rect r) {
381 try {
382 assert _ptr != 0 : "Canvas is closed";
383 assert r != null : "Can’t quickReject with r == null";
384 Stats.onNativeCall();
385 return _nQuickReject(_ptr, r._left, r._top, r._right, r._bottom);
386 } finally {
387 ReferenceUtil.reachabilityFence(this);
388 }
389 }
390
391 @NotNull @Contract("_ -> this")
392 public boolean quickReject(@NotNull Path path) {

Calls 5

onNativeCallMethod · 0.95
_nQuickRejectMethod · 0.95
reachabilityFenceMethod · 0.95
_nQuickRejectPathMethod · 0.95
getPtrMethod · 0.95

Tested by

no test coverage detected