![]() |
Aspose.Barcode for Python via Java Generation and Recognition API docs
|
Caption parameters. More...
Inherits _MwWrapper.
Public Member Functions | |
| None | __init__ (self, _java_class) |
| str | __str__ (self) |
| String representation of the CaptionParameters object. More... | |
| TextAlignment | alignment (self) |
| Caption test horizontal alignment. More... | |
| None | alignment (self, TextAlignment value) |
| Caption test horizontal alignment. More... | |
| Optional[FontUnit] | font (self) |
| Caption font. More... | |
| bool | no_wrap (self) |
| Specify word wraps (line breaks) within text. More... | |
| None | no_wrap (self, bool value) |
| Specify word wraps (line breaks) within text. More... | |
| Optional[Padding] | padding (self) |
| Captions paddings. More... | |
| None | padding (self, Padding value) |
| Captions paddings. More... | |
| Optional[str] | text (self) |
| Caption text. More... | |
| None | text (self, str value) |
| Caption text. More... | |
| Tuple[int, int, int] | text_color (self) |
| Caption text color, representation of an RGB tuple. More... | |
| None | text_color (self, Tuple[int, int, int] value) |
| Caption text color, representation of an RGB tuple. More... | |
| bool | visible (self) |
| Caption text visibility. More... | |
| None | visible (self, bool value) |
| Caption text visibility. More... | |
Caption parameters.
| None __init__ | ( | self, | |
| _java_class | |||
| ) |
| str __str__ | ( | self | ) |
String representation of the CaptionParameters object.
| TextAlignment alignment | ( | self | ) |
Caption test horizontal alignment.
Default valueAlignment.Center.
| None alignment | ( | self, | |
| TextAlignment | value | ||
| ) |
Caption test horizontal alignment.
Default valueAlignment.Center.
| Optional[FontUnit] font | ( | self | ) |
Caption font.
Default value: Arial 8pt regular.
| bool no_wrap | ( | self | ) |
Specify word wraps (line breaks) within text.
| None no_wrap | ( | self, | |
| bool | value | ||
| ) |
Specify word wraps (line breaks) within text.
| Optional[Padding] padding | ( | self | ) |
Captions paddings.
Default value for CaptionAbove: 5pt 5pt 0 5pt. Default value for CaptionBelow: 0 5pt 5pt 5pt.
| None padding | ( | self, | |
| Padding | value | ||
| ) |
Captions paddings.
Default value for CaptionAbove: 5pt 5pt 0 5pt. Default value for CaptionBelow: 0 5pt 5pt 5pt.
| Optional[str] text | ( | self | ) |
Caption text.
Default value: empty string.
| None text | ( | self, | |
| str | value | ||
| ) |
Caption text.
Default value: empty string.
| Tuple[int, int, int] text_color | ( | self | ) |
Caption text color, representation of an RGB tuple.
Default value (0,0,0).
| None text_color | ( | self, | |
| Tuple[int, int, int] | value | ||
| ) |
Caption text color, representation of an RGB tuple.
Default value (0,0,0).
| bool visible | ( | self | ) |
Caption text visibility.
Default value: false.
| None visible | ( | self, | |
| bool | value | ||
| ) |
Caption text visibility.
Default value: false.