CaptionParameters
CaptionParameters class
Caption parameters.
public class CaptionParameters : joint.BaseJavaClass
Constructors
| Name | Description |
|---|
| CaptionParameters(object) | Initializes a new instance of the CaptionParameters class. |
Methods
| Name | Description |
|---|
| getAlignment | Caption test horizontal alignment. Default TextAlignment.CENTER. |
| getFont | Caption font. Default value: Arial 8pt regular. |
| getNoWrap | Specify word wraps (line breaks) within text. Default value: false. |
| getPadding | Captions paddings. Default value for CaptionAbove: 5pt 5pt 0 5pt. Default value for CaptionBelow: 0 5pt 5pt 5pt. |
| getText | Caption text. Default value: empty string. |
| getTextColor | Caption text color. Default value BLACK. |
| getVisible | Caption text visibility. Default value: false. |
| init | |
| setAlignment(object) | Caption test horizontal alignment. Default TextAlignment.CENTER. |
| setNoWrap(object) | Specify word wraps (line breaks) within text. Default value: false. |
| setPadding(object) | Captions paddings. Default value for CaptionAbove: 5pt 5pt 0 5pt. Default value for CaptionBelow: 0 5pt 5pt 5pt. |
| setText(object) | Caption text. Default value: empty string. |
| setTextColor(object) | Caption text color. Default value BLACK. |
| setVisible(object) | Caption text visibility. Default value: false. |
| toString | Specify word wraps (line breaks) within text. Default value: false. |
Fields
See Also