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

Method isNull

shared/java/Bitmap.java:118–125  ·  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

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

Callers 3

drawsNothingMethod · 0.95
baseMethod · 0.80

Calls 3

onNativeCallMethod · 0.95
_nIsNullMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by 1

baseMethod · 0.64