Alignment for multiline text, does not affect single line text
Indicates if lines can be wrapped within words, it needs wordWrap to be set to true
Set a drop shadow for the text
Set alpha for the drop shadow
Set a angle of the drop shadow
Set a shadow blur radius
A fill style to be used on the dropshadow e.g., 'red', '#00FF00'
Set a distance of the drop shadow
A canvas fillstyle that will be used on the text e.g., 'red', '#00FF00'.
Can be an array to create a gradient, e.g., ['#000000','#FFFFFF']
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillStyle|MDN
The font family, can be a single font name, or a list of names where the first is the preferred font.
The font size (as a number it converts to px, but as a string, equivalents are '26px','20pt','160%' or '1.6em')
The font style.
The font variant.
The font weight.
The amount of spacing between letters, default is 0
The line height, a number that represents the vertical space that a letter uses
Occasionally some fonts are cropped. Adding some padding will prevent this from happening by adding padding to all sides of the text.
A canvas fillstyle that will be used on the text stroke, e.g., 'blue', '#FCFF00'
A number that represents the thickness of the stroke. A value of 0 will disable stroke.
White-space with expanded options.
Indicates if word wrap should be used
The width at which text will wrap, it needs wordWrap to be set to true
Generated using TypeDoc
Modifed versions from ITextStyle.
Memberof
PIXI
Since
7.2.0