Creates a sprite from a bitmap with the given data, then places it to the display list. (New architecture)
Clears all sprite from the layer.
Returns the selected paletteID of the sprite.
Gets the sprite's current horizontal scale value
Gets the sprite's current vertical scale value
Returns the displayed portion of the sprite.
Gets the coordinate of the sprite.
Moves the sprite to the exact location.
Relatively moves the sprite by the given values.
Removes the sprite with the given ID.
Replaces the sprite. If the new sprite has a different dimension, the old sprite's upper-left corner will be used.
Replaces the sprite and moves to the given position.
Replaces the sprite and moves to the given position.
Scales bitmap horizontally
Scales bitmap vertically
Sets the paletteID of the sprite. Returns the new ID, which is truncated to the possible values with a simple binary and operation Palette must exist in the parent Raster, otherwise AccessError might happen
Writes the displayed portion of the sprite. Returns the new slice, if invalid (greater than the bitmap, etc.) returns the old one.
Sets the rendering function for the sprite (defaults to the layer's rendering function)
General SpriteLayer interface.