com.aspose.barcode.component

Class CaptionUI

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


  • public class CaptionUI
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      TextAlignment getAlignment()
      Gets the text alignment of the caption.
      int getColor()
      Gets the forecolor of the caption.
      TextPaint getFont()
      Gets the font of the caption.
      Padding getPadding()
      Gets caption paddings .
      java.lang.String getText()
      Gets the content of the caption.
      boolean getVisible()
      Gets a value indicates whether the caption is visible.
      void setAlignment(TextAlignment value)
      Sets the text alignment of the caption.
      void setColor(int value)
      Sets the forecolor of the caption.
      void setFont(TextPaint value)
      Specify the displaying CodeText's font.
      void setText(java.lang.String value)
      Sets the content of the caption.
      void setVisible(boolean value)
      Sets a value indicates whether the caption is visible.
      java.lang.String toString()
      Returns a human-readable string representation of this .
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • 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 TextPaint getFont()
        Gets the font of the caption.
      • setFont

        public void setFont(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 java.lang.String getText()
        Gets the content of the caption.
      • setText

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

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