Since: API Level 1
package

android.graphics

Classes | Description

Provides low level graphics tools such as canvases, color filters, points, and rectangles that let you handle drawing to the screen directly.

more...

Classes

AvoidXfermodeAvoidXfermode xfermode will draw the src everywhere except on top of the opColor or, depending on the Mode, draw only on top of the opColor. 
Bitmap 
BitmapFactoryCreates Bitmap objects from various sources, including files, streams, and byte-arrays. 
BitmapFactory.Options 
BitmapShader 
BlurMaskFilterThis takes a mask, and blurs its edge by the specified radius. 
Camera 
CanvasThe Canvas class holds the "draw" calls. 
ColorThe Color class defines methods for creating and converting color ints. 
ColorFilter 
ColorMatrix5x4 matrix for transforming the color+alpha components of a Bitmap. 
ColorMatrixColorFilter 
ComposePathEffect 
ComposeShaderA subclass of shader that returns the coposition of two other shaders, combined by an Xfermode subclass. 
CornerPathEffect 
DashPathEffect 
DiscretePathEffect 
DrawFilterA DrawFilter subclass can be installed in a Canvas. 
EmbossMaskFilter 
ImageFormat 
Interpolator 
LayerRasterizer 
LightingColorFilter 
LinearGradient 
MaskFilterMaskFilter is the base class for object that perform transformations on an alpha-channel mask before drawing it. 
MatrixThe Matrix class holds a 3x3 matrix for transforming coordinates. 
Movie 
NinePatchThe NinePatch class permits drawing a bitmap in nine sections. 
PaintThe Paint class holds the style and color information about how to draw geometries, text and bitmaps. 
Paint.FontMetricsClass that describes the various metrics for a font at a given text size. 
Paint.FontMetricsIntConvenience method for callers that want to have FontMetrics values as integers. 
PaintFlagsDrawFilter 
PathThe Path class encapsulates compound (multiple contour) geometric paths consisting of straight line segments, quadratic curves, and cubic curves. 
PathDashPathEffect 
PathEffectPathEffect is the base class for objects in the Paint that affect the geometry of a drawing primitive before it is transformed by the canvas' matrix and drawn. 
PathMeasure 
PictureA picture records drawing calls (via the canvas returned by beginRecording) and can then play them back (via picture.draw(canvas) or canvas.drawPicture). 
PixelFormat 
PixelXorXfermodePixelXorXfermode implements a simple pixel xor (op ^ src ^ dst). 
PointPoint holds two integer coordinates  
PointFPointF holds two float coordinates  
PorterDuff 
PorterDuffColorFilter 
PorterDuffXfermode 
RadialGradient 
Rasterizer 
RectRect holds four integer coordinates for a rectangle. 
RectFRectF holds four float coordinates for a rectangle. 
Region 
RegionIterator 
ShaderShader is the based class for objects that return horizontal spans of colors during drawing. 
SumPathEffect 
SweepGradient 
TypefaceThe Typeface class specifies the typeface and intrinsic style of a font. 
XfermodeXfermode is the base class for objects that are called to implement custom "transfer-modes" in the drawing pipeline. 
YuvImageYuvImage contains YUV data and provides a method that compresses a region of the YUV data to a Jpeg. 

Enums

AvoidXfermode.Mode 
Bitmap.CompressFormatSpecifies the known formats a bitmap can be compressed into  
Bitmap.Config 
BlurMaskFilter.Blur 
Canvas.EdgeType 
Canvas.VertexMode 
Interpolator.Result 
Matrix.ScaleToFitControlls how the src rect should align into the dst rect for setRectToRect(). 
Paint.AlignAlign specifies how drawText aligns its text relative to the [x,y] coordinates. 
Paint.CapThe Cap specifies the treatment for the beginning and ending of stroked lines and paths. 
Paint.JoinThe Join specifies the treatment where lines and curve segments join on a stroked path. 
Paint.StyleThe Style specifies if the primitive being drawn is filled, stroked, or both (in the same color). 
Path.DirectionSpecifies how closed shapes (e.g. 
Path.FillTypeEnum for the ways a path may be filled  
PathDashPathEffect.Style 
PorterDuff.Mode 
Region.Op 
Shader.TileMode