| Name | <ElementTag.text_width> |
| Returns | ElementTag(Number) |
| Description | Returns the width, in pixels, of the text.
The width used is based on the vanilla minecraft font. This will not be accurate for other fonts. This only currently supports ASCII symbols properly. Unicode symbols will be estimated as 6 pixels. If the element contains newlines, will return the widest line width. |
| Generated Example | |
| Group | element manipulation |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L286 |