Chapter 10
WatchFaces Vector Design: Using Vector Graphics for WatchFaces
Now that you have most of the WatchFaces API infrastructure in place that does not directly relate to the Canvas object you will be “painting” on using vector graphics, you are ready to start implementing the .onDraw( ) method and learning about vector graphics as well as the Android classes that implement them.
This chapter will take an in-depth look at the Android classes that are used with a Canvas object, primarily the Android Paint class and nested classes, as you might have guessed, since one paints on a canvas!
You will also learn about the Android Canvas class and the .drawLine( ) method it contains, which you will be using to draw all the components of your ...
Get Pro Android Wearables: Building Apps for Smartwatches now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.