What is the paint() method?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the paint() method?
Rating:
The paint() method is a method of the GameCanvas class. It is called in an application to draw the contents of Canvas on the screen. The general syntax of this method is as follows:
Here, g is the instance of the Graphics class.
Rating:
Was this information helpful?
Other articles
- What is the ChoiceGroup class?
- What is an exception?
- What is the sleep() method?
- What is the startApp() method?
- What is the getConstraints() method?