Package com.prineside.tdi2.utils
Class QuadDrawable
java.lang.Object
com.prineside.tdi2.scene2d.utils.BaseDrawable
com.prineside.tdi2.utils.QuadDrawable
- All Implemented Interfaces:
Drawable,TransformDrawable
Deprecated, use Quad
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDraws this drawable at the specified bounds.voiddraw(Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation) voidsetQuadActor(QuadActor quadActor) Methods inherited from class com.prineside.tdi2.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.prineside.tdi2.scene2d.utils.Drawable
getBottomHeight, getLeftWidth, getMinHeight, getMinWidth, getRightWidth, getTopHeight, setBottomHeight, setLeftWidth, setMinHeight, setMinWidth, setRightWidth, setTopHeight
-
Constructor Details
-
QuadDrawable
public QuadDrawable() -
QuadDrawable
-
QuadDrawable
-
-
Method Details
-
draw
Description copied from interface:DrawableDraws this drawable at the specified bounds. The drawable should be tinted withBatch.getColor(), possibly by mixing its own color.- Specified by:
drawin interfaceDrawable- Overrides:
drawin classBaseDrawable
-
draw
public void draw(Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation) - Specified by:
drawin interfaceTransformDrawable
-
setQuadActor
-
getQuadActor
-