What is the GameCanvas class?
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 GameCanvas class?
Rating:
The GameCanvas class is provided in the javax.microedition.lcdui.game package. It extends the Canvas class. It not only inherits the features from the Canvas class but also provides game-specific capabilities such as an off-screen graphics buffer and the ability to query key status. Some of the methods of this class are as follows:
- flushGraphics()
- getGraphics()
- getKeyStates()
Rating:
Was this information helpful?
Other articles
- What is the sleep() method?
- What is the HttpConnection interface?
- What is an exception?
- What is Ticker?
- What is the recordDeleted() method?