DisplayListItem.replaceSprite

Replaces the sprite with a new one. If the sizes are mismatching, the top-left coordinates are left as is, but the slicing is reset.

struct DisplayListItem
@trusted pure nothrow
void
replaceSprite
(
ABitmap sprite
)

Meta