Class CaptionUI

java.lang.Object
com.aspose.barcode.component.CaptionUI

public class CaptionUI extends Object
UI wrapper for com.aspose.barcode.generation.CaptionParameters class.
  • Method Details

    • getVisible

      public boolean getVisible()
      Gets a value indicates whether the caption is visible.
      Returns:
    • setVisible

      public void setVisible(boolean value)
      Sets a value indicates whether the caption is visible.
      Parameters:
      value -
    • getColor

      public int getColor()
      Gets the forecolor of the caption.
      Returns:
    • setColor

      public void setColor(int value)
      Sets the forecolor of the caption.
      Parameters:
      value -
    • getFont

      public android.text.TextPaint getFont()
      Gets the font of the caption.
    • setFont

      public void setFont(android.text.TextPaint value)
      Specify the displaying CodeText's font. Default value: Arial 5pt regular. Ignored if FontMode is set to FontMode.AUTO.
    • getPadding

      public Padding getPadding()
      Gets caption paddings .
    • getAlignment

      public TextAlignment getAlignment()
      Gets the text alignment of the caption.
    • setAlignment

      public void setAlignment(TextAlignment value)
      Sets the text alignment of the caption.
    • getText

      public String getText()
      Gets the content of the caption.
    • setText

      public void setText(String value)
      Sets the content of the caption.
    • toString

      public String toString()
      Returns a human-readable string representation of this .
      Overrides:
      toString in class Object
      Returns:
      A string that represents this .