APIdia Launch Partner
Top Description Methods
com.badlogic.gdx.scenes.scene2d.utils

public Interface TransformDrawable

extends Drawable
Known Direct Implementers
com.badlogic.gdx.scenes.scene2d.utils.NinePatchDrawable, com.badlogic.gdx.scenes.scene2d.utils.SpriteDrawable, com.badlogic.gdx.scenes.scene2d.utils.TextureRegionDrawable
Imports
com.badlogic.gdx.graphics.g2d.Batch

A drawable that supports scale and rotation.

Method Summary

Modifier and TypeMethod and Description
public void
draw(Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation)

Inherited from com.badlogic.gdx.scenes.scene2d.utils.Drawable:
drawgetBottomHeightgetLeftWidthgetMinHeightgetMinWidthgetRightWidthgetTopHeightsetBottomHeightsetLeftWidthsetMinHeightsetMinSizesetMinWidthsetPaddingsetPaddingsetPaddingsetRightWidthsetTopHeight

Method Detail

drawback to summary
public void draw(Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation)