SvgTextAnchor.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel;
  6. #pragma warning disable
  7. namespace Svg
  8. {
  9. /// <summary>
  10. /// Text anchor is used to align (start-, middle- or end-alignment) a string of text relative to a given point.
  11. /// </summary>
  12. [TypeConverter(typeof(SvgTextAnchorConverter))]
  13. public enum SvgTextAnchor
  14. {
  15. /// <summary>The value is inherited from the parent element.</summary>
  16. Inherit,
  17. /// <summary>
  18. /// The rendered characters are aligned such that the start of the text string is at the initial current text position.
  19. /// </summary>
  20. Start,
  21. /// <summary>
  22. /// The rendered characters are aligned such that the middle of the text string is at the current text position.
  23. /// </summary>
  24. Middle,
  25. /// <summary>
  26. /// The rendered characters are aligned such that the end of the text string is at the initial current text position.
  27. /// </summary>
  28. End
  29. }
  30. }
  31. #pragma warning restore