Add set_default_margin_all/individual to StyleBox

This commit is contained in:
FireForge
2022-03-11 22:38:44 -06:00
committed by Yuri Sizov
parent 019253512d
commit dd7ee37c8a
9 changed files with 98 additions and 94 deletions

View File

@@ -97,6 +97,23 @@
Sets the default value of the specified [enum Side] to [param offset] pixels.
</description>
</method>
<method name="set_default_margin_all">
<return type="void" />
<param index="0" name="offset" type="float" />
<description>
Sets the default margin to [param offset] pixels for all sides.
</description>
</method>
<method name="set_default_margin_individual">
<return type="void" />
<param index="0" name="offset_left" type="float" />
<param index="1" name="offset_top" type="float" />
<param index="2" name="offset_right" type="float" />
<param index="3" name="offset_bottom" type="float" />
<description>
Sets the default margin for each side to [param offset_left], [param offset_top], [param offset_right], and [param offset_bottom] pixels.
</description>
</method>
<method name="test_mask" qualifiers="const">
<return type="bool" />
<param index="0" name="point" type="Vector2" />