January 2014
Intermediate to advanced
736 pages
70h 43m
English
We use methods of class Canvas (package android.graphics) to draw text, lines and circles. Canvas methods draw on a View’s Bitmap. Each drawing method in class Canvas uses an object of class Paint (package android.graphics) to specify drawing characteristics, including color, line thickness, font size and more. These capabilities are presented with the drawGameElements method in Section 6.8. For more details on the drawing characteristics you can specify with a Paint object, visit
Read now
Unlock full access