Table of Contents

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

color string

The 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

height int

The 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)

Parameters

color string

The hex color string for the separator. Falls back to black if invalid.

height int

The height of the separator line in pixels.