Layer(width, height, graphic, palette[, grid])¶
Keep internal information about a layer of graphics (either a
Sprite) in a format suitable for fast rendering with the
This class is intended for internal use in the
stagelibrary and it shouldn’t be used on its own.
Set the offset of the layer to the specified values.
Set the animation frame of the sprite, and optionally rotation its graphic.