diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-01-25 19:56:40 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-01-25 20:04:23 +0100 |
commit | 33f37cfd1913de23ca2d4c615ddf53d0b96d9771 (patch) | |
tree | c0503e998a3c63f4608143286d33a8a2a59c56e0 /doc | |
parent | a61f5a75209c69e617f5d9ac8f74c970077b931a (diff) |
Document how to get chamfered corners with StyleBoxFlat
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/StyleBoxFlat.xml | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ </member> <member name="corner_detail" type="int" setter="set_corner_detail" getter="get_corner_detail" default="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. </member> <member name="corner_radius_bottom_left" type="int" setter="set_corner_radius" getter="get_corner_radius" default="0"> The bottom-left corner's radius. If [code]0[/code], the corner is not rounded. |