Added in Version 1.6.0

TextParameter

Additional setting parameters for text printing

Constructor

TextParameter()

Initialize object

Property

width

Number of characters to print

Int

widthParameter

Parameters for setting the number of characters to print for text printing

TextWidthParameter

Method

setWidth(width: number, widthParameter?: TextWidthParameter | undefined)

Set the number of characters to print (e.g., if width is set to 8, the width to print is reserved for 8 characters. If the text is less than 8 characters, the missing space is filled with white space; if the text exceeds 8 characters, it is omitted according to ellipsizeType)