Pages Navigation Menu

Coding is much easier than you think

what is canvas in android

what is canvas in android

 
Canvas is graphics component in android which does the job of calling Draw method and drawing the shape.

According to android documentation , The Canvas class holds the “draw” calls. To draw something, you need 4 basic components: A Bitmap to hold the pixels, a Canvas to host the draw calls (writing into the bitmap), a drawing primitive (e.g. Rect, Path, text, Bitmap), and a paint (to describe the colors and styles for the drawing).
 
** UPDATE: Android Complete tutorial now available here.
 

About Gokul


I am very much interested in android and Wicket framework. A core android developer and working in android native app development and responsive web mobile design. I have also worked in wicket fame work and java web development. I will keep on updating you about android and wicket framework and answer your query.