Table of Contents

Method RemoveSlice

Namespace
MonoGame.Aseprite
Assembly
MonoGame.Aseprite.dll

RemoveSlice(string)

Removes the Slice element with the specified name from this TextureRegion.

public bool RemoveSlice(string name)

Parameters

name string

The name of the Slice element to remove.

Returns

bool

true if the Slice element was successfully removed; otherwise, false. This method returns false when this TextureRegion does not have a Slice element with the specified name.