playn.flash
Class FlashCanvasLayer

java.lang.Object
  extended by playn.core.AbstractLayer
      extended by playn.flash.FlashLayer
          extended by playn.flash.FlashCanvasLayer
All Implemented Interfaces:
CanvasLayer, Layer, Layer.HasSize

public class FlashCanvasLayer
extends FlashLayer
implements CanvasLayer


Nested Class Summary
 
Nested classes/interfaces inherited from class playn.core.AbstractLayer
AbstractLayer.Flag
 
Nested classes/interfaces inherited from interface playn.core.Layer
Layer.HasSize, Layer.Util
 
Field Summary
 
Fields inherited from class playn.flash.FlashLayer
displayObject
 
Fields inherited from class playn.core.AbstractLayer
alpha, depth, flags, originX, originY, transform
 
Constructor Summary
FlashCanvasLayer(int width, int height)
           
 
Method Summary
 Canvas canvas()
           
 float height()
           
 float scaledHeight()
           
 float scaledWidth()
           
 float width()
           
 
Methods inherited from class playn.flash.FlashLayer
setVisible, update, updateChildren
 
Methods inherited from class playn.core.AbstractLayer
alpha, 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
 

Constructor Detail

FlashCanvasLayer

public FlashCanvasLayer(int width,
                        int height)
Method Detail

canvas

public Canvas canvas()
Specified by:
canvas in interface CanvasLayer

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 © 2012. All Rights Reserved.