Represents a label displayed by a DiagramLink. New labels can be added to a link by calling the DiagramLink.addLabel method.
The following tables list the members exposed by the LinkLabel type.
Name | Description | |
---|---|---|
Overloaded. |
Name | Description | |
---|---|---|
Creates a clone of this label. |
||
Gets a value indicating whether the label can be auto arranged. |
||
Gets the brush used to draw the label's background. |
||
Implements InplaceEditable.getEditRect. Returns the rectangle where the in-place edit text box should appear (in document coordinates). |
||
Gets whether the text should wrap to multiple lines. |
||
Gets the font of the link's label text. |
||
Gets the horizontal alignment of the text within the label's layout rectangle. |
||
Gets the index of the segment or control point this label is relative to. |
||
Gets the text margins size. |
||
Gets the maximal width that when reached should cause text to wrap to a new line. |
||
Gets the label's relative positioning. |
||
Gets the label's text. |
||
Gets the color of the link's label text. |
||
Implements InplaceEditable.getTextToEdit. Returns the text that should be displayed initially when this label is edited in-place. |
||
Gets the vertical alignment of the text relatively to the label's position. |
||
Loads the label from the specified binary stream. |
||
Sets a value indicating whether the label can be auto arranged. |
||
Sets the brush used to draw the label's background. |
||
Positions this label relatively to the specified control point. |
||
Implements InplaceEditable.setEditedText. Assigns the edited text to the label after in-place edit operation completes successfully |
||
Sets whether the text should wrap to multiple lines. |
||
Sets the font of the link's label. |
||
Sets the horizontal alignment of the text within the label's layout rectangle. |
||
Sets the index of the segment or control point this label is relative to. |
||
Positions this label relatively to the link length. |
||
Sets the text margins size. |
||
Sets the maximal width that when reached should cause text to wrap to a new line. |
||
Sets the label's relative positioning. |
||
Positions this label relatively to the specified link segment. |
||
Sets the label's text. |
||
Sets the color of the link's label. |
||
Sets the vertical alignment of the text relatively to the label's position. |
||
Saves the label into the specified binary stream. |
Name | Description | |
---|---|---|
Draws this label on the specified Canvas surface. |
||
Gets the label's layout rectangle calculated from text length, font and alignment. |
||
Returns the DiagramLink that displays this label. |
||
Loads the label from the specified XML element. |
||
Overloaded. |
||
Saves the label into the specified XML element. |