Which of the following methods is used to display text on screen in eclipse?
Correct Answer: public void displayString(Canvas canvas, String text, int x, int y){ for (int i = 0; i < text.length(); i++) { Character Ch = text.CharAt(i); if (glyphs.get(ch) != null) { canvas.drawBitmap(glyphs.get(ch), x + (i * width), y, null); } } }
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Android Game Development MCQ Questions
Android Game Development MCQs | Topic-wise