| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG |
| Constructor and Description |
|---|
BaseStage(Context context) |
BaseStage(Context context,
AttributeSet attributes) |
| Modifier and Type | Method and Description |
|---|---|
AssetManager |
getAssets() |
PointF |
getFixedScale() |
Point |
getFixedSize() |
Rect |
getRect() |
Scene |
getScene() |
void |
onPause() |
void |
onResume() |
void |
setFixedSize(int width,
int height)
Use this to take advantage of the Hardware Scaler for scaling up scene in conjunction with Camera's zoom, without any additional cost.
|
void |
setScene(Scene scene) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHandler, getResources, queueEventpublic BaseStage(Context context)
public BaseStage(Context context,
AttributeSet attributes)
public void setScene(Scene scene)
public Scene getScene()
public void setFixedSize(int width,
int height)
setFixedSize in interface Stagewidth - The surface's width. This can be < the resolution widthheight - The surface's height. This can be < the resolution heightSurfaceHolder#setFixedSize(int, int),
http://android-developers.blogspot.com/2013/09/using-hardware-scaler-for-performance.htmlpublic Point getFixedSize()
getFixedSize in interface Stagepublic PointF getFixedScale()
getFixedScale in interface Stagepublic void onPause()
public void onResume()