Canvas Class

Canvas Class

A Canvas component represents a blank rectangular area of the screen onto which the application can draw or from which the application can trap input events from the user.
An application must subclass(extend) the Canvas class in order to get useful functionality such as creating a custom component. The paint method must be overridden in order to perform custom graphics on the canvas.

Apply for J2ME Certification Now!!

https://www.vskills.in/certification/

Back to Tutorial

Share this post
[social_warfare]
Bluetooth API and OBEX
Text Images and Animation

Get industry recognized certification – Contact us

keyboard_arrow_up