diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-21 00:59:41 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-21 00:59:41 +1000 |
commit | bd783d319557b41b5865d51f306a74abbf7af18c (patch) | |
tree | 5acefc369e7cbc42a1226efb0c28efb9a3d6830e /doc | |
parent | 9b75bd8eb280eb108d9eeef7a17c083a883155c7 (diff) |
make the chat really pretty!!
also slightly optimized text shadow rendering, made sure glyphs with directives stay centered and added two extra Lua arguments to canvas.drawText
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua/widget.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lua/widget.md b/doc/lua/widget.md index 1b29678..246a063 100644 --- a/doc/lua/widget.md +++ b/doc/lua/widget.md @@ -377,7 +377,7 @@ Draws a polygon on the canvas. Draws a list of filled triangles to the canvas. -##### `void` drawText(`String` text, `Json` textPositioning, `unsigned` fontSize, [`Color` color]) +##### `void` drawText(`String` text, `Json` textPositioning, `unsigned` fontSize, [`Color` color], [`float` lineSpacing], [`String` directives]) Draws text on the canvas. textPositioning is in the format: |