LineStyle.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #nullable enable
  2. namespace Terminal.Gui;
  3. /// <summary>Defines the style of lines for a <see cref="LineCanvas"/>.</summary>
  4. public enum LineStyle
  5. {
  6. /// <summary>No border is drawn.</summary>
  7. None,
  8. /// <summary>The border is drawn using thin line CM.Glyphs.</summary>
  9. Single,
  10. /// <summary>The border is drawn using thin line glyphs with dashed (double and triple) straight lines.</summary>
  11. Dashed,
  12. /// <summary>The border is drawn using thin line glyphs with short dashed (triple and quadruple) straight lines.</summary>
  13. Dotted,
  14. /// <summary>The border is drawn using thin double line CM.Glyphs.</summary>
  15. Double,
  16. /// <summary>The border is drawn using heavy line CM.Glyphs.</summary>
  17. Heavy,
  18. /// <summary>The border is drawn using heavy line glyphs with dashed (double and triple) straight lines.</summary>
  19. HeavyDashed,
  20. /// <summary>The border is drawn using heavy line glyphs with short dashed (triple and quadruple) straight lines.</summary>
  21. HeavyDotted,
  22. /// <summary>The border is drawn using thin line glyphs with rounded corners.</summary>
  23. Rounded,
  24. /// <summary>The border is drawn using thin line glyphs with rounded corners and dashed (double and triple) straight lines.</summary>
  25. RoundedDashed,
  26. /// <summary>
  27. /// The border is drawn using thin line glyphs with rounded corners and short dashed (triple and quadruple)
  28. /// straight lines.
  29. /// </summary>
  30. RoundedDotted
  31. // TODO: Support Ruler
  32. ///// <summary>
  33. ///// The border is drawn as a diagnostic ruler ("|123456789...").
  34. ///// </summary>
  35. //Ruler
  36. }