SpriteLayer.setSlice

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

class SpriteLayer
@trusted nothrow
Coordinate
setSlice
(
int n
,
Coordinate slice
)

Meta