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

Caption parameters. More...

Inherits BaseJavaClass.

Public Member Functions

def __init__ (self, javaClass)
 
def getAlignment (self)
 Caption test horizontal alignment. More...
 
def getFont (self)
 Caption font. More...
 
def getNoWrap (self)
 Specify word wraps (line breaks) within text. More...
 
def getPadding (self)
 Captions paddings. More...
 
def getText (self)
 Caption text. More...
 
def getTextColor (self)
 Caption text color, representation of an RGB tuple. More...
 
def getVisible (self)
 Caption text visibility. More...
 
def init (self)
 
def setAlignment (self, value)
 Caption test horizontal alignment. More...
 
def setNoWrap (self, value)
 Specify word wraps (line breaks) within text. More...
 
def setPadding (self, value)
 Captions paddings. More...
 
def setText (self, value)
 Caption text. More...
 
def setTextColor (self, value)
 Caption text color, representation of an RGB tuple. More...
 
def setVisible (self, value)
 Caption text visibility. 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

 font
 
 padding
 
- Public Attributes inherited from BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

Caption parameters.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  javaClass 
)

Reimplemented from BaseJavaClass.

Member Function Documentation

◆ getAlignment()

def getAlignment (   self)

Caption test horizontal alignment.

Default valueAlignment.Center.

◆ getFont()

def getFont (   self)

Caption font.

Default value: Arial 8pt regular.

◆ getNoWrap()

def getNoWrap (   self)

Specify word wraps (line breaks) within text.

Returns
bool

◆ getPadding()

def getPadding (   self)

Captions paddings.

Default value for CaptionAbove: 5pt 5pt 0 5pt. Default value for CaptionBelow: 0 5pt 5pt 5pt.

◆ getText()

def getText (   self)

Caption text.

Default value: empty string.

◆ getTextColor()

def getTextColor (   self)

Caption text color, representation of an RGB tuple.

Default value (0,0,0).

◆ getVisible()

def getVisible (   self)

Caption text visibility.

Default value: false.

◆ init()

def init (   self)

Reimplemented from BaseJavaClass.

◆ setAlignment()

def setAlignment (   self,
  value 
)

Caption test horizontal alignment.

Default valueAlignment.Center.

◆ setNoWrap()

def setNoWrap (   self,
  value 
)

Specify word wraps (line breaks) within text.

◆ setPadding()

def setPadding (   self,
  value 
)

Captions paddings.

Default value for CaptionAbove: 5pt 5pt 0 5pt. Default value for CaptionBelow: 0 5pt 5pt 5pt.

◆ setText()

def setText (   self,
  value 
)

Caption text.

Default value: empty string.

◆ setTextColor()

def setTextColor (   self,
  value 
)

Caption text color, representation of an RGB tuple.

Default value (0,0,0).

◆ setVisible()

def setVisible (   self,
  value 
)

Caption text visibility.

Default value: false.

Member Data Documentation

◆ font

font

◆ padding

padding