com.aspose.barcode.generation

Class CaptionParameters

  • java.lang.Object
    • com.aspose.barcode.generation.CaptionParameters


  • public class CaptionParameters
    extends java.lang.Object

    Caption parameters.

    • Constructor Detail

      • CaptionParameters

        public CaptionParameters()
    • Method Detail

      • getText

        public java.lang.String getText()

        Caption text. Default value: empty string.

      • setText

        public void setText(java.lang.String value)

        Caption text. Default value: empty string.

      • getFont

        public FontUnit getFont()

        Caption font. Default value: Arial 8pt regular.

      • setFont

        public void setFont(FontUnit value)

        Caption font. Default value: Arial 8pt regular.

      • getVisible

        public boolean getVisible()

        Caption text visibility. Default value: false.

      • setVisible

        public void setVisible(boolean value)

        Caption text visibility. Default value: false.

      • getTextColor

        public java.awt.Color getTextColor()

        Caption text color. Default value: Color.BLACK.

      • setTextColor

        public void setTextColor(java.awt.Color value)

        Caption text color. Default value: Color.BLACK.

      • getPadding

        public Padding getPadding()

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

      • setPadding

        public void setPadding(Padding value)

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

      • getAlignment

        public TextAlignment getAlignment()

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

      • setAlignment

        public void setAlignment(TextAlignment value)

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

      • getStateHash

        public int getStateHash()