ThreeSlice
Namespace: Murder.Utilities
Assembly: Murder.dll
public sealed struct ThreeSlice
⭐ Constructors
public ThreeSlice(ThreeSliceInfo info)
Parameters
info
ThreeSliceInfo
⭐ Properties
Core
public readonly Rectangle Core;
Returns
Rectangle
Image
public readonly SpriteAsset Image;
Returns
SpriteAsset
⭐ Methods
Draw(Batch2D, Rectangle, Vector2, Orientation, float)
public void Draw(Batch2D batch, Rectangle target, Vector2 origin, Orientation orientation, float sort)
Parameters
batch
Batch2D
target
Rectangle
origin
Vector2
orientation
Orientation
sort
float
⚡