playn.flash
Class FlashImageLayer
java.lang.Object
playn.core.AbstractLayer
playn.flash.FlashLayer
playn.flash.FlashImageLayer
- All Implemented Interfaces:
- ImageLayer, Layer, Layer.HasSize
public class FlashImageLayer
- extends FlashLayer
- implements ImageLayer
| Methods inherited from class playn.core.AbstractLayer |
addListener, addListener, alpha, depth, destroy, destroyed, hitTest, hitTestDefault, interactive, isSet, onAdd, onRemove, originX, originY, parent, setDepth, setFlag, setHitTester, setInteractive, 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 |
addListener, addListener, alpha, depth, destroy, destroyed, hitTest, hitTestDefault, interactive, originX, originY, parent, setAlpha, setDepth, setHitTester, setInteractive, setOrigin, setRotation, setScale, setScale, setTranslation, setVisible, transform, visible |
FlashImageLayer
public FlashImageLayer(Image image)
FlashImageLayer
public FlashImageLayer()
clearHeight
public void clearHeight()
- Specified by:
clearHeight in interface ImageLayer
clearSourceRect
@Deprecated
public void clearSourceRect()
- Deprecated.
- Specified by:
clearSourceRect in interface ImageLayer
clearWidth
public void clearWidth()
- Specified by:
clearWidth in interface ImageLayer
image
public Image image()
- Specified by:
image in interface ImageLayer
setHeight
public void setHeight(float height)
- Specified by:
setHeight in interface ImageLayer
setImage
public void setImage(Image image)
- Specified by:
setImage in interface ImageLayer
setRepeatX
public void setRepeatX(boolean repeat)
- Specified by:
setRepeatX in interface ImageLayer
setRepeatY
public void setRepeatY(boolean repeat)
- Specified by:
setRepeatY in interface ImageLayer
setSourceRect
@Deprecated
public void setSourceRect(float sx,
float sy,
float sw,
float sh)
- Deprecated.
- Specified by:
setSourceRect in interface ImageLayer
setWidth
public void setWidth(float width)
- Specified by:
setWidth in interface ImageLayer
setSize
public void setSize(float width,
float height)
- Specified by:
setSize in interface ImageLayer
width
public float width()
- Specified by:
width in interface Layer.HasSize- Overrides:
width in class AbstractLayer
height
public float height()
- Specified by:
height in interface Layer.HasSize- Overrides:
height in class AbstractLayer
scaledWidth
public float scaledWidth()
- Specified by:
scaledWidth in interface Layer.HasSize
scaledHeight
public float scaledHeight()
- Specified by:
scaledHeight in interface Layer.HasSize
update
public void update()
- Overrides:
update in class FlashLayer
Copyright © 2012. All Rights Reserved.