Side.cs 534 B

123456789101112131415161718192021222324252627
  1. namespace Terminal.Gui;
  2. /// <summary>
  3. /// Indicates the side for <see cref="Pos"/> operations.
  4. /// </summary>
  5. public enum Side
  6. {
  7. /// <summary>
  8. /// The left (X) side of the view.
  9. /// </summary>
  10. Left = 0,
  11. /// <summary>
  12. /// The top (Y) side of the view.
  13. /// </summary>
  14. Top = 1,
  15. /// <summary>
  16. /// The right (X + Width) side of the view.
  17. /// </summary>
  18. Right = 2,
  19. /// <summary>
  20. /// The bottom (Y + Height) side of the view.
  21. /// </summary>
  22. Bottom = 3
  23. }