Android 2.3 Gingerbread

Package android.graphics

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

See:
          Description

Class Summary
AvoidXfermode AvoidXfermode 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  
BitmapFactory Creates Bitmap objects from various sources, including files, streams, and byte-arrays.
BitmapFactory.Options  
BitmapShader  
BlurMaskFilter This takes a mask, and blurs its edge by the specified radius.
Camera  
Canvas The Canvas class holds the "draw" calls.
Color The Color class defines methods for creating and converting color ints.
ColorFilter  
ColorMatrix 5x4 matrix for transforming the color+alpha components of a Bitmap.
ColorMatrixColorFilter  
ComposePathEffect  
ComposeShader A subclass of shader that returns the coposition of two other shaders, combined by an Xfermode subclass.
CornerPathEffect  
DashPathEffect  
DiscretePathEffect  
DrawFilter A DrawFilter subclass can be installed in a Canvas.
EmbossMaskFilter  
ImageFormat  
Interpolator  
LargeBitmap LargeBitmap can be used to decode a rectangle region from an image.
LayerRasterizer  
LightingColorFilter  
LinearGradient  
MaskFilter MaskFilter is the base class for object that perform transformations on an alpha-channel mask before drawing it.
Matrix The Matrix class holds a 3x3 matrix for transforming coordinates.
Movie  
NinePatch The NinePatch class permits drawing a bitmap in nine sections.
Paint The Paint class holds the style and color information about how to draw geometries, text and bitmaps.
Paint.FontMetrics Class that describes the various metrics for a font at a given text size.
Paint.FontMetricsInt Convenience method for callers that want to have FontMetrics values as integers.
PaintFlagsDrawFilter  
Path The Path class encapsulates compound (multiple contour) geometric paths consisting of straight line segments, quadratic curves, and cubic curves.
PathDashPathEffect  
PathEffect PathEffect 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  
Picture A picture records drawing calls (via the canvas returned by beginRecording) and can then play them back (via picture.draw(canvas) or canvas.drawPicture).
PixelFormat  
PixelXorXfermode PixelXorXfermode implements a simple pixel xor (op ^ src ^ dst).
Point Point holds two integer coordinates
PointF PointF holds two float coordinates
PorterDuff  
PorterDuffColorFilter  
PorterDuffXfermode  
RadialGradient  
Rasterizer  
Rect Rect holds four integer coordinates for a rectangle.
RectF RectF holds four float coordinates for a rectangle.
Region  
RegionIterator  
Shader Shader is the based class for objects that return horizontal spans of colors during drawing.
SumPathEffect  
SweepGradient  
TableMaskFilter  
TemporaryBuffer  
Typeface The Typeface class specifies the typeface and intrinsic style of a font.
Xfermode Xfermode is the base class for objects that are called to implement custom "transfer-modes" in the drawing pipeline.
YuvImage YuvImage contains YUV data and provides a method that compresses a region of the YUV data to a Jpeg.
 

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

Package android.graphics Description

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


Android 2.3 Gingerbread