BoxExtensions

Contains extension methods for .

Contains extension methods for BoxBorder.

Methods

public static BoxBorder GetSafeBorder(BoxBorder border, bool safe)

Gets the safe border for a border.

Parameters:

border (BoxBorder)
The border to get the safe border for.
safe (bool)
Whether or not to return the safe border.

Returns:

The safe border if one exist, otherwise the original border.