public class PlainBackground extends java.lang.Object implements Background
Constructor and Description |
---|
PlainBackground()
Creates a plain background with no border.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(ej.microui.display.GraphicsContext g,
Rectangle bounds,
int color)
Applies the background on a graphics context.
|
boolean |
isTransparent()
Tells whether or not the background is transparent.
|
public PlainBackground()
public boolean isTransparent()
Background
isTransparent
in interface Background
true
if the background is transparent, false
otherwise.public void apply(ej.microui.display.GraphicsContext g, Rectangle bounds, int color)
Background
apply
in interface Background
g
- the graphics context.bounds
- the available rectangle.color
- the background color.