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

Method drawTextBlob

shared/java/Canvas.java:568–578  ·  view source on GitHub ↗
(@NotNull TextBlob blob, float x, float y, @NotNull Paint paint)

Source from the content-addressed store, hash-verified

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) {

Callers 14

drawTextLineMethod · 0.95
_drawLineMethod · 0.80
drawByWordsMethod · 0.80
drawTogetherMethod · 0.80
_drawLineMethod · 0.80
drawBlobMethod · 0.80
drawPosHMethod · 0.80
drawPosMethod · 0.80
drawRSXformMethod · 0.80
drawBuilderMethod · 0.80
drawBoundsMethod · 0.80

Calls 4

onNativeCallMethod · 0.95
_nDrawTextBlobMethod · 0.95
getPtrMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by

no test coverage detected