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

Barcode image border parameters. More...

Inherits asposebarcode.Assist.BaseJavaClass.

Public Member Functions

def __init__ (self, javaClass)
 
def init (self)
 
def getVisible (self)
 Border visibility. More...
 
def setVisible (self, value)
 Border visibility. More...
 
def getWidth (self)
 Border width. More...
 
def setWidth (self, value)
 Border width. More...
 
def toString (self)
 Returns a human-readable string representation of this BorderParameters. More...
 
def getDashStyle (self)
 Border dash style. More...
 
def setDashStyle (self, value)
 Border dash style. More...
 
def getColor (self)
 Border color, representation of an RGB tuple. More...
 
def setColor (self, value)
 Border color, representation of an RGB tuple. More...
 
- Public Member Functions inherited from asposebarcode.Assist.BaseJavaClass
def getJavaClass (self)
 
def setJavaClass (self, javaClass)
 
def getJavaClassName (self)
 
def isNull (self)
 
def printJavaClassName (self)
 

Public Attributes

 width
 
- Public Attributes inherited from asposebarcode.Assist.BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

Barcode image border parameters.

Constructor & Destructor Documentation

◆ __init__()

def asposebarcode.Generation.BorderParameters.__init__ (   self,
  javaClass 
)

Member Function Documentation

◆ getColor()

def asposebarcode.Generation.BorderParameters.getColor (   self)

Border color, representation of an RGB tuple.

Default value: 0

◆ getDashStyle()

def asposebarcode.Generation.BorderParameters.getDashStyle (   self)

Border dash style.

Default value: BorderDashStyle.SOLID.

◆ getVisible()

def asposebarcode.Generation.BorderParameters.getVisible (   self)

Border visibility.

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

◆ getWidth()

def asposebarcode.Generation.BorderParameters.getWidth (   self)

Border width.

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

◆ init()

def asposebarcode.Generation.BorderParameters.init (   self)

◆ setColor()

def asposebarcode.Generation.BorderParameters.setColor (   self,
  value 
)

Border color, representation of an RGB tuple.

Default value: 0

◆ setDashStyle()

def asposebarcode.Generation.BorderParameters.setDashStyle (   self,
  value 
)

Border dash style.

Default value: BorderDashStyle.SOLID.

◆ setVisible()

def asposebarcode.Generation.BorderParameters.setVisible (   self,
  value 
)

Border visibility.

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

◆ setWidth()

def asposebarcode.Generation.BorderParameters.setWidth (   self,
  value 
)

Border width.

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

◆ toString()

def asposebarcode.Generation.BorderParameters.toString (   self)

Returns a human-readable string representation of this BorderParameters.

Returns
A string that represents this BorderParameters.

Member Data Documentation

◆ width

asposebarcode.Generation.BorderParameters.width