ISpriteLayer.setSlice

Writes the displayed portion of the sprite. Returns the new slice, if invalid (greater than the bitmap, etc.) returns the old one.

interface ISpriteLayer
@trusted nothrow
Box
setSlice
(
int n
,
Box slice
)

Meta