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.

Types

class BackgroundPainterA painter that draws the background of a component based on its style
class PainterChainA painter chain allows us to chain together several painters to provide a “layer” effect where each painter only draws one element.