ISpriteLayer.setPaletteID

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

interface ISpriteLayer
@nogc @trusted nothrow
ushort
setPaletteID
(
int n
,
ushort paletteID
)

Meta