Table of Contents

Class Slice

Namespace
MonoGame.Aseprite
Assembly
MonoGame.Aseprite.dll

Defines a named slice for a TextureRegion with a bounds, origin, and color.

public class Slice
Inheritance
Slice
Derived
Inherited Members

Properties

Bounds

Gets the rectangular bounds of this Slice relative to the bounds of the TextureRegion it is in.

Color

Gets the Microsoft.Xna.Framework.Color value assigned to this Slice.

Name

Gets the name assigned to this Slice.

Origin

Gets the x- and y-coordinate origin point for this Slice relative to the upper-left corner of the bonds of the TextureRegion it is in.