Constructor SeparatorAttribute
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
SeparatorAttribute()
Initializes a new instance of the SeparatorAttribute class using the default height and color.
public SeparatorAttribute()
SeparatorAttribute(string)
Initializes a new instance of the SeparatorAttribute class with a specified color and default height.
public SeparatorAttribute(string color)
Parameters
colorstringThe hex color string for the separator. Falls back to the default color if invalid.
SeparatorAttribute(int)
Initializes a new instance of the SeparatorAttribute class with a specified height and default color.
public SeparatorAttribute(int height)
Parameters
heightintThe height of the separator line in pixels.
SeparatorAttribute(string, int)
Initializes a new instance of the SeparatorAttribute class with a specified color and height.
public SeparatorAttribute(string color, int height)