playn.flash
Class FlashSurfaceLayer
java.lang.Object
playn.core.AbstractLayer
playn.flash.FlashLayer
playn.flash.FlashSurfaceLayer
- All Implemented Interfaces:
- Layer, Layer.HasSize, SurfaceLayer
public class FlashSurfaceLayer
- extends FlashLayer
- implements SurfaceLayer
| Methods inherited from class playn.core.AbstractLayer |
alpha, createTransform, depth, destroy, destroyed, isSet, onAdd, onRemove, originX, originY, parent, setAlpha, setDepth, setFlag, setOrigin, setParent, setRotation, setScale, setScale, setTranslation, transform, visible |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface playn.core.Layer |
alpha, depth, destroy, destroyed, originX, originY, parent, setAlpha, setDepth, setOrigin, setRotation, setScale, setScale, setTranslation, setVisible, transform, visible |
FlashSurfaceLayer
public FlashSurfaceLayer(int width,
int height)
- Parameters:
width - height -
surface
public Surface surface()
- Specified by:
surface in interface SurfaceLayer
width
public float width()
- Specified by:
width in interface Layer.HasSize
height
public float height()
- Specified by:
height in interface Layer.HasSize
scaledWidth
public float scaledWidth()
- Specified by:
scaledWidth in interface Layer.HasSize
scaledHeight
public float scaledHeight()
- Specified by:
scaledHeight in interface Layer.HasSize
Copyright © 2011. All Rights Reserved.