Aspose.Barcode for PHP via Java Generation and Recognition API docs

Inherits BaseJavaClass.

Public Member Functions

 getText ()
 
 setText (string $value)
 
 getFont ()
 
 getVisible ()
 
 setVisible (bool $value)
 
 getTextColor ()
 
 setTextColor (string $value)
 
 getPadding ()
 
 setPadding (Padding $value)
 
 getAlignment ()
 
 setAlignment (int $value)
 
 getNoWrap ()
 
 setNoWrap (bool $value)
 
- Public Member Functions inherited from BaseJavaClass
 __construct ($javaClass)
 
 getJavaClass ()
 
 getJavaClassName ()
 
 isNull ()
 
 printJavaClassName ()
 

Protected Member Functions

 init ()
 
- Protected Member Functions inherited from BaseJavaClass
 setJavaClass ($javaClass)
 

Private Attributes

 $font
 
 $padding
 

Detailed Description

Caption parameters.

Member Function Documentation

◆ getAlignment()

CaptionParameters::getAlignment ( )

Caption test horizontal alignment. Default value: StringAlignment.Center.

◆ getFont()

CaptionParameters::getFont ( )

Caption font. Default value: Arial 8pt regular.

◆ getNoWrap()

CaptionParameters::getNoWrap ( )

◆ getPadding()

CaptionParameters::getPadding ( )

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

◆ getText()

CaptionParameters::getText ( )

Caption text. Default value: empty string.

◆ getTextColor()

CaptionParameters::getTextColor ( )

Caption text color. Default value BLACK.

◆ getVisible()

CaptionParameters::getVisible ( )

Caption text visibility. Default value: false.

◆ init()

CaptionParameters::init ( )
protected

Reimplemented from BaseJavaClass.

◆ setAlignment()

CaptionParameters::setAlignment ( int  $value)

Caption test horizontal alignment. Default value: StringAlignment.CENTER.

◆ setNoWrap()

CaptionParameters::setNoWrap ( bool  $value)

◆ setPadding()

CaptionParameters::setPadding ( Padding  $value)

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

◆ setText()

CaptionParameters::setText ( string  $value)

Caption text. Default value: empty string.

◆ setTextColor()

CaptionParameters::setTextColor ( string  $value)

Caption text color. Default value BLACK.

◆ setVisible()

CaptionParameters::setVisible ( bool  $value)

Caption text visibility. Default value: false.

Member Data Documentation

◆ $font

CaptionParameters::$font
private

◆ $padding

CaptionParameters::$padding
private