Class QuadDrawable

java.lang.Object
com.badlogic.gdx.scenes.scene2d.utils.BaseDrawable
com.prineside.tdi2.utils.QuadDrawable
All Implemented Interfaces:
com.badlogic.gdx.scenes.scene2d.utils.Drawable, com.badlogic.gdx.scenes.scene2d.utils.TransformDrawable

public final class QuadDrawable extends com.badlogic.gdx.scenes.scene2d.utils.BaseDrawable implements com.badlogic.gdx.scenes.scene2d.utils.TransformDrawable
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    draw(com.badlogic.gdx.graphics.g2d.Batch batch, float x, float y, float width, float height)
    Draws this drawable at the specified bounds.
    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)
     
     
    void
     

    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, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.badlogic.gdx.scenes.scene2d.utils.Drawable

    getBottomHeight, getLeftWidth, getMinHeight, getMinWidth, getRightWidth, getTopHeight, setBottomHeight, setLeftWidth, setMinHeight, setMinWidth, setRightWidth, setTopHeight
  • Constructor Details

    • QuadDrawable

      public QuadDrawable()
    • QuadDrawable

      public QuadDrawable(QuadActor quadActor)
    • QuadDrawable

      public QuadDrawable(QuadDrawable drawable)
  • 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.Drawable
      Draws this drawable at the specified bounds. The drawable should be tinted with Batch.getColor(), possibly by mixing its own color.
      Specified by:
      draw in interface com.badlogic.gdx.scenes.scene2d.utils.Drawable
      Overrides:
      draw in class com.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:
      draw in interface com.badlogic.gdx.scenes.scene2d.utils.TransformDrawable
    • setQuadActor

      public void setQuadActor(QuadActor quadActor)
    • getQuadActor

      public QuadActor getQuadActor()