Class BackgroundComponent
- java.lang.Object
-
- net.runelite.client.ui.overlay.components.BackgroundComponent
-
- All Implemented Interfaces:
RenderableEntity
public class BackgroundComponent extends Object implements RenderableEntity
-
-
Constructor Summary
Constructors Constructor Description BackgroundComponent()BackgroundComponent(Color backgroundColor, Rectangle rectangle, boolean fill)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dimensionrender(Graphics2D graphics)voidsetBackgroundColor(Color backgroundColor)voidsetFill(boolean fill)voidsetRectangle(Rectangle rectangle)
-
-
-
Method Detail
-
render
public Dimension render(Graphics2D graphics)
- Specified by:
renderin interfaceRenderableEntity
-
setBackgroundColor
public void setBackgroundColor(Color backgroundColor)
-
setRectangle
public void setRectangle(Rectangle rectangle)
-
setFill
public void setFill(boolean fill)
-
-