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

Barcode image border parameters. More...

Inherits BaseJavaClass.

Public Member Functions

def __init__ (self, javaClass)
 
str __str__ (self)
 Returns a human-readable string representation of this BorderParameters instance. More...
 
Tuple[int, int, int] getColor (self)
 Border color, representation of an RGB tuple. More...
 
BorderDashStyle getDashStyle (self)
 Border dash style. More...
 
bool getVisible (self)
 Border visibility. More...
 
Unit getWidth (self)
 Border width. More...
 
None init (self)
 
None setColor (self, Tuple[int, int, int] value)
 Border color, representation of an RGB tuple. More...
 
None setDashStyle (self, BorderDashStyle value)
 Border dash style. More...
 
None setVisible (self, bool value)
 Border visibility. More...
 
None setWidth (self, Unit value)
 Border width. More...
 
- Public Member Functions inherited from BaseJavaClass
def getJavaClass (self)
 
str getJavaClassName (self)
 
bool isNull (self)
 
None printJavaClassName (self)
 
None setJavaClass (self, javaClass)
 

Public Attributes

 width
 
- Public Attributes inherited from BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

Barcode image border parameters.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  javaClass 
)

Reimplemented from BaseJavaClass.

Member Function Documentation

◆ __str__()

str __str__ (   self)

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

◆ getColor()

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

Border color, representation of an RGB tuple.

Default value: 0

◆ getDashStyle()

BorderDashStyle getDashStyle (   self)

Border dash style.

Default value: BorderDashStyle.SOLID.

◆ getVisible()

bool getVisible (   self)

Border visibility.

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

◆ getWidth()

Unit getWidth (   self)

Border width.

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

◆ init()

None init (   self)

Reimplemented from BaseJavaClass.

◆ setColor()

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

Border color, representation of an RGB tuple.

Default value: 0

◆ setDashStyle()

None setDashStyle (   self,
BorderDashStyle  value 
)

Border dash style.

Default value: BorderDashStyle.SOLID.

◆ setVisible()

None setVisible (   self,
bool  value 
)

Border visibility.

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

◆ setWidth()

None setWidth (   self,
Unit  value 
)

Border width.

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

Member Data Documentation

◆ width

width