November 2012
Beginner
432 pages
9h 3m
English
What You’ll Learn in This Hour
• How to draw shapes using Canvas
• How to print text using Canvas
• How to change draw settings with Paint
• How to write Javadoc code comments
In this hour you learn more about Canvas and View and about the many methods available for drawing shapes and text.
As you saw in the previous hour, you can draw to the Android screen using Canvas and View. We take a look at most of the Canvas drawing methods here. Although you might not consider vector shapes useful, they can be handy for in-game editors, for highlighting game objects, for underlining or boxing areas, and even for simple games.
Because you have already seen a circle drawn ...
Read now
Unlock full access