Uses of Class
playn.scene.ImageLayer
-
Uses of ImageLayer in playn.scene
Modifier and TypeClassDescriptionclass
Simplifies the process of displaying aCanvas
which is updated after its initial creation.Modifier and TypeMethodDescriptionSetsregion
.ImageLayer.setSize
(float width, float height) SetsforceWidth
andforceHeight
.ImageLayer.setSize
(IDimension size) SetsforceWidth
andforceHeight
.ImageLayer.setSource
(TileSource source) Sets the texture rendered by this layer to the texture provided bysource
.Sets the texture rendered by this layer.Sets the tile rendered by this layer to the asynchronous result oftile
.