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
@safe pure nothrow
Coordinate
setSlice
(
int n
,
Coordinate slice
)

Meta