summaryrefslogtreecommitdiffstats
path: root/doc/classes/CanvasItem.xml
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2022-11-03 18:37:21 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-11-03 18:40:44 +0100
commita19e389f4f353133c6ff28a89c446c8e59a5ed87 (patch)
tree5306c8d5e82562a8fb380a0083e5735bada9a1fa /doc/classes/CanvasItem.xml
parentc0de8d32d51d579e6dc1a5aac3fbcd6c7104eb61 (diff)
downloadredot-engine-a19e389f4f353133c6ff28a89c446c8e59a5ed87.tar.gz
Hide Antialiasing import option on DynamicFonts with MSDF enabled
Antialiasing cannot be adjusted on fonts rendered with MSDF. Internally, Godot always uses grayscale antialiasing for those fonts. This also tweaks property hints for consistency, and renames uses of "sub-pixel" to the more commonly used "subpixel".
Diffstat (limited to 'doc/classes/CanvasItem.xml')
-rw-r--r--doc/classes/CanvasItem.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/CanvasItem.xml b/doc/classes/CanvasItem.xml
index ee09b016ac..a2859552a9 100644
--- a/doc/classes/CanvasItem.xml
+++ b/doc/classes/CanvasItem.xml
@@ -114,7 +114,7 @@
<param index="2" name="src_rect" type="Rect2" />
<param index="3" name="modulate" type="Color" default="Color(1, 1, 1, 1)" />
<description>
- Draws a textured rectangle region of the font texture with LCD sub-pixel anti-aliasing at a given position, optionally modulated by a color.
+ Draws a textured rectangle region of the font texture with LCD subpixel anti-aliasing at a given position, optionally modulated by a color.
Texture is drawn using the following blend operation, blend mode of the [CanvasItemMaterial] is ignored:
[codeblock]
dst.r = texture.r * modulate.r * modulate.a + dst.r * (1.0 - texture.r * modulate.a);