From 33f37cfd1913de23ca2d4c615ddf53d0b96d9771 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 25 Jan 2020 19:56:40 +0100 Subject: [PATCH] Document how to get chamfered corners with StyleBoxFlat --- doc/classes/StyleBoxFlat.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/classes/StyleBoxFlat.xml b/doc/classes/StyleBoxFlat.xml index 46b11ac010..b41c1d9799 100644 --- a/doc/classes/StyleBoxFlat.xml +++ b/doc/classes/StyleBoxFlat.xml @@ -179,7 +179,8 @@ This sets the amount of vertices used for each corner. Higher values result in rounder corners but take more processing power to compute. When choosing a value, you should take the corner radius ([method set_corner_radius_all]) into account. - For corner radii smaller than 10, 4-5 should be enough. For corner radii smaller than 30, 8-12 should be enough. + For corner radii smaller than 10, [code]4[/code] or [code]5[/code] should be enough. For corner radii smaller than 30, values between [code]8[/code] and [code]12[/code] should be enough. + A corner detail of [code]1[/code] will result in chamfered corners instead of rounded corners, which is useful for some artistic effects. The bottom-left corner's radius. If [code]0[/code], the corner is not rounded.