DrawRectangleComponent

Namespace: Murder.Components
Assembly: Murder.dll

public sealed struct DrawRectangleComponent : IComponent

Implements: IComponent

⭐ Constructors

public DrawRectangleComponent()
public DrawRectangleComponent(int spriteBatch, bool fill, Color color, float offset)

Parameters
spriteBatch int
fill bool
color Color
offset float

⭐ Properties

Color

public readonly Color Color;

Returns
Color

Fill

public readonly bool Fill;

Returns
bool

LineWidth

public readonly int LineWidth;

Returns
int

SortingOffset

public readonly float SortingOffset;

Returns
float

TargetSpriteBatch

public readonly int TargetSpriteBatch;

Returns
int