From 93493843b04ecacd1508d056af8ec3a0abb729d6 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()` --- doc/classes/Font.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/Font.xml b/doc/classes/Font.xml index ac3eb9801e9..ce88a8acc6f 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.