Package com.aspose.barcode.component
Class CaptionUI
java.lang.Object
com.aspose.barcode.component.CaptionUI
UI wrapper for com.aspose.barcode.generation.CaptionParameters class.
-
Method Summary
Modifier and TypeMethodDescriptionGets the textalignment of the caption.intgetColor()Gets theforecolor of thecaption .android.text.TextPaintgetFont()Gets thefont of thecaption .Gets caption paddings. getText()Gets the content of the caption.booleanGets a value indicates whether thecaption is visible.voidsetAlignment(TextAlignment value) Sets the textalignment of the caption.voidsetColor(int value) Sets theforecolor of thecaption .voidsetFont(android.text.TextPaint value) Specify the displaying CodeText's font.voidSets the content of the caption.voidsetVisible(boolean value) Sets a value indicates whether thecaption is visible.toString()Returns a human-readable string representation of this.
-
Method Details
-
getVisible
public boolean getVisible()Gets a value indicates whether thecaption is visible.- Returns:
-
setVisible
public void setVisible(boolean value) Sets a value indicates whether thecaption is visible.- Parameters:
value-
-
getColor
public int getColor()Gets theforecolor of thecaption .- Returns:
-
setColor
public void setColor(int value) Sets theforecolor of thecaption .- Parameters:
value-
-
getFont
public android.text.TextPaint getFont()Gets thefont of thecaption . -
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
Gets caption paddings. -
getAlignment
Gets the textalignment of the caption. -
setAlignment
Sets the textalignment of the caption. -
getText
Gets the content of the caption. -
setText
Sets the content of the caption. -
toString
Returns a human-readable string representation of this.
-