mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-19 02:12:49 +08:00
23 lines
720 B
C#
23 lines
720 B
C#
using Spectre.Console.Rendering;
|
|
|
|
namespace Spectre.Console
|
|
{
|
|
/// <summary>
|
|
/// Represents a border.
|
|
/// </summary>
|
|
public abstract partial class BoxBorder
|
|
{
|
|
/// <summary>
|
|
/// Gets the safe border for this border or <c>null</c> if none exist.
|
|
/// </summary>
|
|
public virtual BoxBorder? SafeBorder { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the string representation of the specified border part.
|
|
/// </summary>
|
|
/// <param name="part">The part to get the character representation for.</param>
|
|
/// <returns>A character representation of the specified border part.</returns>
|
|
public abstract string GetPart(BoxBorderPart part);
|
|
}
|
|
}
|