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

Method drawTextLine

shared/java/Canvas.java:580–590  ·  view source on GitHub ↗
(@NotNull TextLine line, float x, float y, @NotNull Paint paint)

Source from the content-addressed store, hash-verified

578 }
579
580 @NotNull @Contract("_, _, _, _ -> this")
581 public Canvas drawTextLine(@NotNull TextLine line, float x, float y, @NotNull Paint paint) {
582 assert _ptr != 0 : "Canvas is closed";
583 assert line != null : "Can’t drawTextLine with line == null";
584 assert paint != null : "Can’t drawTextLine with paint == null";
585 try (TextBlob blob = line.getTextBlob();) {
586 if (blob != null)
587 drawTextBlob(blob, x, y, paint);
588 }
589 return this;
590 }
591
592 @NotNull @Contract("_ -> this")
593 public Canvas drawPicture(@NotNull Picture picture) {

Callers 10

drawUnicodeMethod · 0.80
drawSubstringMethod · 0.80
drawTextLinesByWordsMethod · 0.80
drawMethod · 0.80
drawSineMethod · 0.80
drawTableMethod · 0.80
drawLineMethod · 0.80
drawMethod · 0.80
drawMethod · 0.80
drawMethod · 0.80

Calls 2

drawTextBlobMethod · 0.95
getTextBlobMethod · 0.80

Tested by

no test coverage detected