MCPcopy Create free account
hub / github.com/JetBrains/skija / drawTextLine

Method drawTextLine

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

Source from the content-addressed store, hash-verified

435 }
436
437 @NotNull @Contract("_, _, _, _ -> this")
438 public Canvas drawTextLine(@NotNull TextLine line, float x, float y, @NotNull Paint paint) {
439 assert line != null : "Can’t drawTextLine with line == null";
440 assert paint != null : "Can’t drawTextLine with paint == null";
441 try (TextBlob blob = line.getTextBlob();) {
442 if (blob != null)
443 drawTextBlob(blob, x, y, paint);
444 }
445 return this;
446 }
447
448 @NotNull @Contract("_ -> this")
449 public Canvas drawPicture(@NotNull Picture picture) {

Callers 9

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

Calls 2

drawTextBlobMethod · 0.95
getTextBlobMethod · 0.80

Tested by

no test coverage detected