Text Box
The Text Box component provides methods and properties to manipulate text boxes. It is derived from the base componenet.
setText()
Sets the text of the text box.
setText(text: string): void;
getText()
Gets the text of the text box.
getText(): string;
setFontSize()
Sets the font size of the text box.
setFontSize(fontSize: number): void;
getFontSize()
Gets the font size of the text box.
getFontSize(): number;
setFontColor()
Sets the font color of the text box.
setFontColor(fontColor: string): void;
getFontColor()
Gets the font color of the text box.
getFontColor(): string;
setFontStyles()
Sets the font styles of the text box.
setFontStyles(fontStyle: VISU_NAMESPACE.EFontStyle): void;
setHAlignment()
Sets the horizontal alignment of the text box.
setHAlignment(hAlignment: VISU_NAMESPACE.EHAlignment): void;
getHAlignment()
Gets the horizontal alignment of the text box.
getHAlignment(): string;
setVAlignment()
Sets the vertical alignment of the text box.
setVAlignment(vAlignment: VISU_NAMESPACE.EVAlignment): void;
getVAlignment()
Gets the vertical alignment of the text box.
getVAlignment(): string;
setBorderWidth()
Sets the border width of the text box.
setBorderWidth(borderWidth: number): void;
setBorderColor()
Sets the border color of the text box.
setBorderColor(borderColor: string): void;
setBorderRadius()
Sets the border radius of the text box.
setBorderRadius(borderRadius: number): void;
setPadding()
Sets the padding of the text box.
setPadding(padding: number): void;
setTextOrientation()
Sets the text orientation of the text box.
setTextOrientation(orientation: number): void;
getTextOrientation()
Gets the text orientation of the text box.
getTextOrientation(): number;