# Package com.codename1.ui.painter

package com.codename1.ui.painter
`com.codename1.ui.Painter` allows us to draw arbitrary elements of graphics from plain/scaled/tiled images to gradients and pretty much any form of graphic drawing we can imagine. Painters are "hooked" into the core of the API thus allowing us to customize every aspect of it. See `com.codename1.ui.Component` and `com.codename1.ui.Form`.

- Related Packages
  Package
  Description
  com.codename1.ui
  Main widget package containing the component/container "composite" similar both in terminology and design to Swing/AWT.
- Classes
  Class
  Description
  BackgroundPainter
  A painter that draws the background of a component based on its style
  PainterChain
  A painter chain allows us to chain together several painters to provide a "layer" effect where each painter only draws one element.