Using the Android Graphics Libraries

The Android SDK comes with the android.graphics package, which includes a number of handy classes for drawing on the screen (see Figure 21.4). Some features of the Android graphics package include bitmap graphics utilities and support for typefaces, fonts, paints, gradients, shapes, and animation. There are also helper classes, such as the Matrix class that can help perform graphics operations.

FIGURE 21.4

A simple two-dimensional graphic created with Android.

0 0

Post a comment