Side.cs 540 B

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