Aspose.Barcode for Python via Java Generation and Recognition API docs
BorderParameters Class Reference

Barcode image border parameters. More...

Inherits _MwWrapper.

Public Member Functions

def __init__ (self, _java_class)
 
str __str__ (self)
 Returns a human-readable string representation of this BorderParameters instance. More...
 
Tuple[int, int, int] color (self)
 Border color, representation of an RGB tuple. More...
 
None color (self, Tuple[int, int, int] value)
 Border color, representation of an RGB tuple. More...
 
BorderDashStyle dash_style (self)
 Border dash style. More...
 
None dash_style (self, BorderDashStyle value)
 Border dash style. More...
 
bool visible (self)
 Border visibility. More...
 
None visible (self, bool value)
 Border visibility. More...
 
Unit width (self)
 Border width. More...
 
None width (self, Unit value)
 Border width. More...
 

Detailed Description

Barcode image border parameters.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  _java_class 
)

Member Function Documentation

◆ __str__()

str __str__ (   self)

Returns a human-readable string representation of this BorderParameters instance.

◆ color() [1/2]

Tuple[int, int, int] color (   self)

Border color, representation of an RGB tuple.

Default value: 0

◆ color() [2/2]

None color (   self,
Tuple[int, int, int]  value 
)

Border color, representation of an RGB tuple.

Default value: 0

◆ dash_style() [1/2]

BorderDashStyle dash_style (   self)

Border dash style.

Default value: BorderDashStyle.SOLID.

◆ dash_style() [2/2]

None dash_style (   self,
BorderDashStyle  value 
)

Border dash style.

Default value: BorderDashStyle.SOLID.

◆ visible() [1/2]

bool visible (   self)

Border visibility.

If false, the Width parameter is always ignored (0). Default value: false.

◆ visible() [2/2]

None visible (   self,
bool  value 
)

Border visibility.

If false, the Width parameter is always ignored (0). Default value: false.

◆ width() [1/2]

Unit width (   self)

Border width.

Default value: 0. Ignored if Visible is set to false.

◆ width() [2/2]

None width (   self,
Unit  value 
)

Border width.

Default value: 0. Ignored if Visible is set to false.