(@NotNull Paint paint)
| 1037 | } |
| 1038 | |
| 1039 | @NotNull @Contract("_ -> this") |
| 1040 | public Canvas drawPaint(@NotNull Paint paint) { |
| 1041 | assert _ptr != 0 : "Canvas is closed"; |
| 1042 | assert paint != null : "Can’t drawPaint with paint == null"; |
| 1043 | Stats.onNativeCall(); |
| 1044 | _nDrawPaint(_ptr, Native.getPtr(paint)); |
| 1045 | ReferenceUtil.reachabilityFence(paint); |
| 1046 | return this; |
| 1047 | } |
| 1048 | |
| 1049 | /** |
| 1050 | * <p>For SVG and PDF backends, makes a link over the rectangle to the specified URL. |
no test coverage detected