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
()
| 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. |