Add set_default_margin_all/individual to StyleBox
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user