The members of this enumeration specify where the label of a link is placed and how it is oriented relatively to the link segments. These constants can be used as parameters of the setTextStyle method of the DiagramLink class.
The following tables list the members exposed by the LinkTextStyle type.
Name | Description | |
---|---|---|
![]() |
Initializes a new instance of the LinkTextStyle class. |
Name | Description | |
---|---|---|
![]() ![]() |
The text is displayed horizontally above the middle link segment or control point, depending on whether there are an odd or even number of segments. |
|
![]() ![]() |
The label text starts from the first point of the link and follows the path defined by the link segments. This style is useful for displaying long text. |
|
![]() ![]() |
The text follows the longest link segment and is displayed centered at the segment's middle point. |
|
![]() ![]() |
The text is displayed rotated at the same angle as the segment where the text is placed. A long enough segment from the middle link segments is chosen for that purpose. |