From 59061dc619895e8fea41dc1dd096505dc400d8b8 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Fri, 12 Aug 2022 10:15:46 +0800 Subject: [PATCH] Document `outline` parameter of `Font.draw_char()` (cherry picked from commit 93493843b04ecacd1508d056af8ec3a0abb729d6) --- doc/classes/Font.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/Font.xml b/doc/classes/Font.xml index db7b207cfc4..939a753421b 100644 --- a/doc/classes/Font.xml +++ b/doc/classes/Font.xml @@ -35,6 +35,7 @@ Draw character [code]char[/code] into a canvas item using the font at a given position, with [code]modulate[/code] color, and optionally kerning if [code]next[/code] is passed. clipping the width. [code]position[/code] specifies the baseline, not the top. To draw from the top, [i]ascent[/i] must be added to the Y axis. The width used by the character is returned, making this function useful for drawing strings character by character. + If [code]outline[/code] is [code]true[/code], the outline of the character is drawn instead of the character itself.