BorderParameters

BorderParameters class

Module: aspose_barcode.generation.border_parameters

Barcode image border parameters.

Constructors

NameDescription
init

Methods

NameReturn TypeStaticDescription
strstrNoReturns a human-readable string representation of this BorderParameters instance.

Properties

NameTypeDescription
colorTuple[int, int, int]Border color, representation of an RGB tuple. Default value: 0
dash_styleBorderDashStyleBorder dash style. Default value: BorderDashStyle.SOLID.
visibleboolBorder visibility. If false, the Width parameter is always ignored (0). Default value: false.
widthUnitBorder width. Default value: 0. Ignored if Visible is set to false.

BorderParameters Constructor

__init__(self, _java_class) -> def
ParameterTypeDescription
_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

ParameterTypeDescription
valueTuple[int, int, int]

BorderParameters.dash_style

Type: BorderDashStyle

Border dash style. Default value: BorderDashStyle.SOLID.

Border dash style. Default value: BorderDashStyle.SOLID.

ParameterTypeDescription
valueBorderDashStyle

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.

ParameterTypeDescription
valuebool

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.

ParameterTypeDescription
valueUnit