Provides graphical elements (Font, Image)
Interfaces
Anchor |
List of anchor possibilities. |
ScaleType |
Different mode for scaling the image to the bound of its view. |
Transformation |
Transformation masks. |
Classes
Background |
A background represents a non focusable rectangular region contained within a
view. |
CanvasScreen |
A canvas screen is used to perform 2D drawing operations. |
Color |
Color object is used to encapsulate RGB components and opacity. |
Density |
Utility class to convert DP to Pixels
These methods use the density given by Android, which is :
- 0.75 on a ldpi screen
- 1 on an mdpi screen
- 1.5 on an hdpi screen
- 2 on an xhdpi screen
So with theses methods, we take into account the logical density given by
Android, but not the real density of the screen. |
Display |
The device display. |
Font |
Text Font. |
Graphics |
The Graphics class handles all the drawing primitives functions that can be
called from the paint method of a CanvasScreen . |
Image |
Image represents an image data. |
Point |
Point is an object which has x, y coordinate and an anchor in order to define
element position around the point coordinate. |
Rect |
Rect holds four int coordinates for a rectangle area. |