Returns true if Paint prevents all drawing; otherwise, the Paint may or may not allow drawing. Returns true if, for example, BlendMode combined with alpha computes a new alpha of zero. @return true if Paint prevents all drawing @see <a href="https://fiddle.skia.org/c/@Paint_nothing
()
| 672 | * @see <a href="https://fiddle.skia.org/c/@Paint_nothingToDraw">https://fiddle.skia.org/c/@Paint_nothingToDraw</a> |
| 673 | */ |
| 674 | public boolean hasNothingToDraw() { |
| 675 | try { |
| 676 | Stats.onNativeCall(); |
| 677 | return _nHasNothingToDraw(_ptr); |
| 678 | } finally { |
| 679 | Reference.reachabilityFence(this); |
| 680 | } |
| 681 | } |
| 682 | |
| 683 | public static native long _nGetFinalizer(); |
| 684 | public static native long _nMake(); |