setOrientation

public final void setOrientation(int orientation)

Sets the image orientation. It's best to call this before setting the image file or asset, because it may waste loading of tiles. However, this can be freely called at any time.

Parameters

orientation

orientation to be set. See ORIENTATION_ static fields for valid values.