MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / drawChars

Method drawChars

CodenameOne/src/com/codename1/ui/Graphics.java:911–918  ·  view source on GitHub ↗
(char[] data, int offset, int length, int x, int y)

Source from the content-addressed store, hash-verified

909 ///
910 /// use drawString instead, this method is inefficient
911 public void drawChars(char[] data, int offset, int length, int x, int y) {
912 if (!(current instanceof CustomFont)) {
913 drawString(new String(data, offset, length), x, y);
914 } else {
915 CustomFont f = (CustomFont) current;
916 f.drawChars(this, data, offset, length, x, y);
917 }
918 }
919
920 /// Draws the image so its top left coordinate corresponds to x/y
921 ///

Callers

nothing calls this directly

Calls 2

drawStringMethod · 0.95
drawCharsMethod · 0.95

Tested by

no test coverage detected