public interface Paint
Graphics.setColor(com.codename1.ui.Paint)| Modifier and Type | Method and Description |
|---|---|
void |
paint(Graphics g,
double x,
double y,
double w,
double h)
Paints in the given bounds.
|
void |
paint(Graphics g,
Rectangle2D bounds)
Paints in the given bounds.
|
void paint(Graphics g, Rectangle2D bounds)
g - Graphics context to paint in.bounds - Bounds to paint in. User coordinates.void paint(Graphics g, double x, double y, double w, double h)
g - Graphics context to paint in.x - x coordinate. User space.y - y coordinate. USer space.w - width. User space.h - Hight. User space.