Package com.simsilica.lemur.component
Interface ColoredComponent
- All Known Subinterfaces:
Text2d
- All Known Implementing Classes:
IconComponent
,NAspectPreservingQuadBackground
,NSVGIcon
,QuadBackgroundComponent
,TbtQuadBackgroundComponent
,TextComponent
,TextEntryComponent
public interface ColoredComponent
-
Method Summary
Modifier and TypeMethodDescriptionfloat
getAlpha()
Returns the current alpha multiplier that is applied to the color when set to the actual visuals.getColor()
Returns the current color of this component.void
setAlpha
(float f) Sets an alpha multiplier that will be applied to the color when set to the actual visuals.void
Sets the color for this component.
-
Method Details
-
setColor
Sets the color for this component. -
getColor
ColorRGBA getColor()Returns the current color of this component. -
setAlpha
void setAlpha(float f) Sets an alpha multiplier that will be applied to the color when set to the actual visuals. -
getAlpha
float getAlpha()Returns the current alpha multiplier that is applied to the color when set to the actual visuals.
-