Package com.prineside.tdi2.utils
Class QuadDrawableStack
java.lang.Object
com.badlogic.gdx.scenes.scene2d.utils.BaseDrawable
com.prineside.tdi2.utils.QuadDrawableStack
- All Implemented Interfaces:
com.badlogic.gdx.scenes.scene2d.utils.Drawable,com.badlogic.gdx.scenes.scene2d.utils.TransformDrawable
public final class QuadDrawableStack
extends com.badlogic.gdx.scenes.scene2d.utils.BaseDrawable
implements com.badlogic.gdx.scenes.scene2d.utils.TransformDrawable
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionQuadDrawableStack(com.badlogic.gdx.utils.Array<QuadDrawableStack.QuadActorConfig> quadActors) QuadDrawableStack(QuadDrawableStack drawable) -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(com.badlogic.gdx.graphics.g2d.Batch batch, float x, float y, float width, float height) Draws this drawable at the specified bounds.voiddraw(com.badlogic.gdx.graphics.g2d.Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation) voidsetQuadActors(com.badlogic.gdx.utils.Array<QuadDrawableStack.QuadActorConfig> quadActors) Methods inherited from class com.badlogic.gdx.scenes.scene2d.utils.BaseDrawable
getBottomHeight, getLeftWidth, getMinHeight, getMinWidth, getName, getRightWidth, getTopHeight, setBottomHeight, setLeftWidth, setMinHeight, setMinSize, setMinWidth, setName, setPadding, setRightWidth, setTopHeight, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.badlogic.gdx.scenes.scene2d.utils.Drawable
getBottomHeight, getLeftWidth, getMinHeight, getMinWidth, getRightWidth, getTopHeight, setBottomHeight, setLeftWidth, setMinHeight, setMinWidth, setRightWidth, setTopHeight
-
Constructor Details
-
QuadDrawableStack
public QuadDrawableStack() -
QuadDrawableStack
public QuadDrawableStack(com.badlogic.gdx.utils.Array<QuadDrawableStack.QuadActorConfig> quadActors) -
QuadDrawableStack
-
-
Method Details
-
draw
public void draw(com.badlogic.gdx.graphics.g2d.Batch batch, float x, float y, float width, float height) Description copied from interface:com.badlogic.gdx.scenes.scene2d.utils.DrawableDraws this drawable at the specified bounds. The drawable should be tinted withBatch.getColor(), possibly by mixing its own color.- Specified by:
drawin interfacecom.badlogic.gdx.scenes.scene2d.utils.Drawable- Overrides:
drawin classcom.badlogic.gdx.scenes.scene2d.utils.BaseDrawable
-
draw
public void draw(com.badlogic.gdx.graphics.g2d.Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation) - Specified by:
drawin interfacecom.badlogic.gdx.scenes.scene2d.utils.TransformDrawable
-
setQuadActors
public void setQuadActors(com.badlogic.gdx.utils.Array<QuadDrawableStack.QuadActorConfig> quadActors)
-