gdx-platform 1.14.2
gdx
com.badlogic.gdx.scenes.scene2d.utils
TransformDrawable
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 Type
Method 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
:
draw
getBottomHeight
getLeftWidth
getMinHeight
getMinWidth
getRightWidth
getTopHeight
setBottomHeight
setLeftWidth
setMinHeight
setMinSize
setMinWidth
setPadding
setPadding
setPadding
setRightWidth
setTopHeight
Method Detail
draw
back 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
)