Class QuadDrawable

All Implemented Interfaces:
Drawable, TransformDrawable

public final class QuadDrawable extends BaseDrawable implements TransformDrawable
Deprecated, use Quad
  • Constructor Details

    • QuadDrawable

      public QuadDrawable()
    • QuadDrawable

      public QuadDrawable(QuadActor quadActor)
    • QuadDrawable

      public QuadDrawable(QuadDrawable drawable)
  • Method Details

    • draw

      public void draw(Batch batch, float x, float y, float width, float height)
      Description copied from interface: 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 Drawable
      Overrides:
      draw in class BaseDrawable
    • 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:
      draw in interface TransformDrawable
    • setQuadActor

      public void setQuadActor(QuadActor quadActor)
    • getQuadActor

      public QuadActor getQuadActor()