Search results

TextAnnotationDirection API in JavaScript Diagram API control

Specifies the direction for text annotation.

  • Auto - Specifies the direction as auto to switch the direction based on the connector position.
  • Left - Specifies the direction as left when the absolute angle as 180 degree.
  • Right - Specifies the direction as right when the absolute angle as 0 degree.
  • Top - Specifies the direction as top when the absolute angle as 270 degree or -90 degree.
  • Bottom - Specifies the direction as bottom when the absolute angle as 90 degree.
  • Auto
  • Left
  • Right
  • Top
  • Bottom