new CaptionParameters()

Methods

getAlignment()

Caption test horizontal alignment.
Default valueAlignment.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.

setAlignment()

Caption test horizontal alignment.
Default valueAlignment.Center.

setNoWrap()

Specify word wraps (line breaks) within text.
Default value: false.

setPadding()

Captions paddings.
Default value for CaptionAbove: 5pt 5pt 0 5pt.
Default value for CaptionBelow: 0 5pt 5pt 5pt.

setText()

Caption text.
Default value: empty string.

setTextColor()

Caption text color.
Default value BLACK.

setVisible()

Caption text visibility.
Default value: false.