The Canvas class extends the Displayable class. It provides various methods to handle game actions, key events, and pointer events. Developers use this class to develop game applications. Some of the methods of this class are as follows:
- showNotify()
- hideNotify()
- keyPressed()
- keyReleased()
Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
