NineSliceComponent

Namespace: Murder.Components
Assembly: Murder.dll

public sealed struct NineSliceComponent : IComponent

This component makes sure that any sprite will render as a 9-slice instead, as specified.

Implements: IComponent

⭐ Constructors

public NineSliceComponent()

⭐ Properties

Sprite

public readonly Guid Sprite;

Returns
Guid

Style

public readonly NineSliceStyle Style;

Returns
NineSliceStyle

Target

public readonly Rectangle Target;

Returns
Rectangle

TargetSpriteBatch

public readonly int TargetSpriteBatch;

Returns
int

YSortOffset

public readonly int YSortOffset;

Returns
int