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

Method isNull

shared/java/Bitmap.java:117–124  ·  view source on GitHub ↗

Returns true if PixelRef is null. Does not check if width or height are zero; call #drawsNothing() to check width, height, and PixelRef. @return true if no PixelRef is associated

()

Source from the content-addressed store, hash-verified

115 * @return true if no PixelRef is associated
116 */
117 public boolean isNull() {
118 try {
119 Stats.onNativeCall();
120 return _nIsNull(_ptr);
121 } finally {
122 Reference.reachabilityFence(this);
123 }
124 }
125
126 /**
127 * Returns true if width or height are zero, or if PixelRef is null.

Callers 3

drawsNothingMethod · 0.95
executeMethod · 0.80

Calls 2

onNativeCallMethod · 0.95
_nIsNullMethod · 0.95

Tested by 1

executeMethod · 0.64