Package org.ngengine.gui.components
Class NAspectPreservingQuadBackground
java.lang.Object
com.simsilica.lemur.component.AbstractGuiComponent
com.simsilica.lemur.component.QuadBackgroundComponent
org.ngengine.gui.components.NAspectPreservingQuadBackground
- All Implemented Interfaces:
ColoredComponent
,GuiComponent
,Cloneable
-
Constructor Summary
ConstructorsConstructorDescriptionNAspectPreservingQuadBackground
(ColorRGBA color, float xMargin, float yMargin) NAspectPreservingQuadBackground
(ColorRGBA color, float xMargin, float yMargin, float zOffset, boolean lit) -
Method Summary
Methods inherited from class com.simsilica.lemur.component.QuadBackgroundComponent
attach, calculatePreferredSize, clone, createMaterial, detach, getAlpha, getAlphaDiscard, getColor, getMargin, getMaterial, getTexture, getTextureCoordinateScale, getZOffset, refreshBackground, resetColor, setAlpha, setAlphaDiscard, setColor, setMargin, setMargin, setTexture, setTextureCoordinateScale, setZOffset
Methods inherited from class com.simsilica.lemur.component.AbstractGuiComponent
getGuiControl, getNode, invalidate, isAttached
-
Constructor Details
-
NAspectPreservingQuadBackground
public NAspectPreservingQuadBackground() -
NAspectPreservingQuadBackground
-
NAspectPreservingQuadBackground
-
NAspectPreservingQuadBackground
public NAspectPreservingQuadBackground(ColorRGBA color, float xMargin, float yMargin, float zOffset, boolean lit)
-
-
Method Details
-
reshape
- Specified by:
reshape
in interfaceGuiComponent
- Overrides:
reshape
in classQuadBackgroundComponent
-