summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2021-09-15 23:20:19 +0200
committerGitHub <noreply@github.com>2021-09-15 23:20:19 +0200
commit3100c7ec1f643976c8fccc7bf0de477eeab143dd (patch)
tree51b8a3073eee0242c2895fa4464c7795508c0af2
parentd69f4999fb1765205d59391a84e7a7690d5e844d (diff)
parentf7f8ae6372d7fb87903f349ffb65979fa621b277 (diff)
Merge pull request #52677 from Calinou/doc-styleboxflat-bevel-antialiasing
Document caveats with StyleBoxFlat antialiasing and beveled corners
-rw-r--r--doc/classes/StyleBoxFlat.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/StyleBoxFlat.xml b/doc/classes/StyleBoxFlat.xml
index 59ab724f48..40f6075528 100644
--- a/doc/classes/StyleBoxFlat.xml
+++ b/doc/classes/StyleBoxFlat.xml
@@ -120,6 +120,7 @@
<members>
<member name="anti_aliasing" type="bool" setter="set_anti_aliased" getter="is_anti_aliased" default="true">
Antialiasing draws a small ring around the edges, which fades to transparency. As a result, edges look much smoother. This is only noticeable when using rounded corners.
+ [b]Note:[/b] When using beveled corners with 45-degree angles ([member corner_detail] = 1), it is recommended to set [member anti_aliasing] to [code]false[/code] to ensure crisp visuals and avoid possible visual glitches.
</member>
<member name="anti_aliasing_size" type="float" setter="set_aa_size" getter="get_aa_size" default="0.625">
This changes the size of the faded ring. Higher values can be used to achieve a "blurry" effect.