Constructor
new PreciseText()
Methods
(static) getTextStyle(anchoropt, optionsopt) → {PIXI.TextStyle}
Prepare a TextStyle object which merges the canvas defaults with user-provided options
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
anchor |
number |
<optional> |
A text anchor point from CONST.TEXT_ANCHOR_POINTS |
|
options |
object |
<optional> |
{}
|
Additional options merged with the default TextStyle |
Returns:
The prepared TextStyle
- Type
- PIXI.TextStyle