# Package icyllis.modernui.graphics.drawable

package icyllis.modernui.graphics.drawable

- Related Packages
  Package
  Description
  icyllis.modernui.graphics
  The graphics package defines application-level interfaces that are independent of the underlying 3D API.
  icyllis.modernui.graphics.text
- Class
  Description
  Animatable
  Interface that drawables supporting animations should implement.
  Animatable2
  Abstract class that drawables supporting animations and callbacks should extend.
  Animatable2.AnimationCallback
  AnimatedImageDrawable
  `Drawable` for drawing animated images (like GIF).
  ColorDrawable
  A specialized Drawable that fills the Canvas with a specified color.
  ColorStateListDrawable
  A Drawable that manages a `ColorDrawable` to make it stateful and backed by a `ColorStateList`.
  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.Callback
  Implement this interface if you want to create an animated drawable that extends `Drawable`.
  Drawable.ConstantState
  This abstract class is used by `Drawable`s to store shared constant state and data between Drawables.
  DrawableContainer
  A helper class that contains several `Drawable`s and selects which one to use.
  DrawableContainer.DrawableContainerState
  A ConstantState that can contain several `Drawable`s.
  DrawableWrapper
  Drawable container with only one child element.
  GradientDrawable
  A `Drawable` with a color gradient for buttons, backgrounds, etc.
  GradientDrawable.Orientation
  Controls how the gradient is oriented relative to the drawable's bounds
  ImageDrawable
  A Drawable that wraps an image and can be tiled, stretched, or aligned.
  LayerDrawable
  A Drawable that manages an array of other Drawables.
  LevelListDrawable
  A resource that manages a number of alternate Drawables, each assigned a maximum numerical value.
  ScaleDrawable
  ShapeDrawable
  A `Drawable` for drawing shapes.
  StateListDrawable
  Lets you assign a number of graphic images to a single Drawable and swap out the visible item by a string ID value.