Class SolidDiskBackdrop
java.lang.Object
com.ardor3d.extension.ui.backdrop.UIBackdrop
com.ardor3d.extension.ui.backdrop.SolidDiskBackdrop
- Direct Known Subclasses:
ImageDiskBackdrop
This backdrop paints a solid disk of color behind a UI component.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstruct this backdrop, using the given color. -
Method Summary
Modifier and TypeMethodDescriptionstatic UIDisk
void
draw
(Renderer renderer, UIComponent comp) Draw this backdrop.getColor()
void
setColor
(ReadOnlyColorRGBA color) Set the color of this back drop.Methods inherited from class com.ardor3d.extension.ui.backdrop.UIBackdrop
getBackdropHeight, getBackdropWidth
-
Field Details
-
_color
The color to draw
-
-
Constructor Details
-
SolidDiskBackdrop
Construct this backdrop, using the given color.- Parameters:
color
- the color of the backdrop
-
-
Method Details
-
getColor
- Returns:
- the color of this back drop.
-
setColor
Set the color of this back drop.- Parameters:
color
- the color to use
-
draw
Description copied from class:UIBackdrop
Draw this backdrop. Override this method to do the actual work.- Specified by:
draw
in classUIBackdrop
- Parameters:
renderer
- the renderer to use in drawing.comp
- the component we are drawing the background for.
-
createStandinDisk
-