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)
 
def getColor (self)
 Border color, representation of an RGB tuple. More...
 
def getDashStyle (self)
 Border dash style. More...
 
def getVisible (self)
 Border visibility. More...
 
def getWidth (self)
 Border width. More...
 
def init (self)
 
def setColor (self, value)
 Border color, representation of an RGB tuple. More...
 
def setDashStyle (self, value)
 Border dash style. More...
 
def setVisible (self, value)
 Border visibility. More...
 
def setWidth (self, value)
 Border width. More...
 
def toString (self)
 Returns a human-readable string representation of this BorderParameters. More...
 
- Public Member Functions inherited from BaseJavaClass
def getJavaClass (self)
 
def getJavaClassName (self)
 
def isNull (self)
 
def printJavaClassName (self)
 
def 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

◆ getColor()

def getColor (   self)

Border color, representation of an RGB tuple.

Default value: 0

◆ getDashStyle()

def getDashStyle (   self)

Border dash style.

Default value: BorderDashStyle.SOLID.

◆ getVisible()

def getVisible (   self)

Border visibility.

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

◆ getWidth()

def getWidth (   self)

Border width.

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

◆ init()

def init (   self)

Reimplemented from BaseJavaClass.

◆ setColor()

def setColor (   self,
  value 
)

Border color, representation of an RGB tuple.

Default value: 0

◆ setDashStyle()

def setDashStyle (   self,
  value 
)

Border dash style.

Default value: BorderDashStyle.SOLID.

◆ setVisible()

def setVisible (   self,
  value 
)

Border visibility.

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

◆ setWidth()

def setWidth (   self,
  value 
)

Border width.

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

◆ toString()

def toString (   self)

Returns a human-readable string representation of this BorderParameters.

Returns
A string that represents this BorderParameters.

Member Data Documentation

◆ width

width