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 |
equals(java.lang.Object obj) |
int |
hashCode() |
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.public boolean equals(@Nullable java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object