(@NotNull TextBlob blob, float x, float y, @NotNull Paint paint)
| 566 | } |
| 567 | |
| 568 | @NotNull @Contract("_, _, _, _ -> this") |
| 569 | public Canvas drawTextBlob(@NotNull TextBlob blob, float x, float y, @NotNull Paint paint) { |
| 570 | assert _ptr != 0 : "Canvas is closed"; |
| 571 | assert blob != null : "Can’t drawTextBlob with blob == null"; |
| 572 | assert paint != null : "Can’t drawTextBlob with paint == null"; |
| 573 | Stats.onNativeCall(); |
| 574 | _nDrawTextBlob(_ptr, Native.getPtr(blob), x, y, Native.getPtr(paint)); |
| 575 | ReferenceUtil.reachabilityFence(blob); |
| 576 | ReferenceUtil.reachabilityFence(paint); |
| 577 | return this; |
| 578 | } |
| 579 | |
| 580 | @NotNull @Contract("_, _, _, _ -> this") |
| 581 | public Canvas drawTextLine(@NotNull TextLine line, float x, float y, @NotNull Paint paint) { |
no test coverage detected