What You’ll Learn in This Hour
• How to draw shapes using
• How to print text using
• How to change draw settings with
• How to write Javadoc code comments
In this hour you learn more about
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
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 ...