Android
package

android.graphics.drawable

Classes | Description

Provides classes to manage a variety of visual elements that are intended for display only, such as bitmaps and gradients. more...

Interfaces

Drawable.Callback Implement this interface if you want to create an animated drawable that extends Drawable

Classes

AnimationDrawable An object used to define frame-by-frame animations that can be used as a View object's background. 
BitmapDrawable  
ClipDrawable A drawable that clips another drawable based on this drawable's current level value. 
ColorDrawable A ColorDrawable is a specialized drawable that fills the Canvas with a specified color, and with respect to the clip region. 
Drawable A Drawable is a general abstraction for "something that can be drawn." Most often you will deal with Drawable as the type of resource retrieved for drawing things to the screen; the Drawable class provides a generic API for dealing with an underlying visual resource that may take a variety of forms. 
Drawable.ConstantState  
DrawableContainer  
DrawableContainer.DrawableContainerState  
GradientDrawable A simple color gradient for buttons, backgrounds, etc. 
InsetDrawable A Drawable that insets another Drawable by a specified distance. 
LayerDrawable Drawable that manages an array of other drawables. 
LevelListDrawable A resource that contains a number of alternate images, each assigned a maximum numerical value. 
NinePatchDrawable A resizeable bitmap, with stretchable areas that you define. 
PaintDrawable Drawable that draws its bounds in the given paint, with optional rounded corners. 
PictureDrawable Drawable subclass that wraps a Picture, allowing the picture to be used whereever a Drawable is supported. 
RotateDrawable

A drawable that can rotate another drawable based on the current level value. 

ScaleDrawable A drawable that changes the size of another drawable based on its current level value. 
ShapeDrawable An object that draws primitive shapes. 
ShapeDrawable.ShaderFactory Base class defines a factory object that is called each time the drawable is resized (has a new width or height). 
StateListDrawable Lets you assign a number of graphic images to a single Drawable and swap out the visible item by a string ID value. 
TransitionDrawable Transition drawables are an extension of LayerDrawables and are intended to cross fade between the first and second layers. 

Enums

GradientDrawable.Orientation Controls how the gradient is oriented relative to the drawable's bounds  
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56