BorderParameters
BorderParameters class
Module: aspose_barcode.generation.border_parameters
Barcode image border parameters.
Constructors
| Name | Description |
|---|---|
| init |
Methods
| Name | Return Type | Static | Description |
|---|---|---|---|
| str | str | No | Returns a human-readable string representation of this BorderParameters instance. |
Properties
| Name | Type | Description |
|---|---|---|
| color | Tuple[int, int, int] | Border color, representation of an RGB tuple. Default value: 0 |
| dash_style | BorderDashStyle | Border dash style. Default value: BorderDashStyle.SOLID. |
| visible | bool | Border visibility. If false, the Width parameter is always ignored (0). Default value: false. |
| width | Unit | Border width. Default value: 0. Ignored if Visible is set to false. |
BorderParameters Constructor
__init__(self, _java_class) -> def
| Parameter | Type | Description |
|---|---|---|
_java_class | `` |
BorderParameters.str
__str__(self) -> str
Returns a human-readable string representation of this BorderParameters instance.
Return Type: str
BorderParameters.color
Type: Tuple[int, int, int]
Border color, representation of an RGB tuple. Default value: 0
Border color, representation of an RGB tuple. Default value: 0
| Parameter | Type | Description |
|---|---|---|
value | Tuple[int, int, int] |
BorderParameters.dash_style
Type: BorderDashStyle
Border dash style. Default value: BorderDashStyle.SOLID.
Border dash style. Default value: BorderDashStyle.SOLID.
| Parameter | Type | Description |
|---|---|---|
value | BorderDashStyle |
BorderParameters.visible
Type: bool
Border visibility. If false, the Width parameter is always ignored (0). Default value: false.
Border visibility. If false, the Width parameter is always ignored (0). Default value: false.
| Parameter | Type | Description |
|---|---|---|
value | bool |
BorderParameters.width
Type: Unit
Border width. Default value: 0. Ignored if Visible is set to false.
Border width. Default value: 0. Ignored if Visible is set to false.
| Parameter | Type | Description |
|---|---|---|
value | Unit |