summaryrefslogtreecommitdiff
path: root/doc/classes/StyleBox.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/StyleBox.xml')
-rw-r--r--doc/classes/StyleBox.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/classes/StyleBox.xml b/doc/classes/StyleBox.xml
index 6b8f076211..1d873ef0b1 100644
--- a/doc/classes/StyleBox.xml
+++ b/doc/classes/StyleBox.xml
@@ -31,6 +31,14 @@
<description>
</description>
</method>
+ <method name="get_default_margin" qualifiers="const">
+ <return type="float">
+ </return>
+ <argument index="0" name="margin" type="int" enum="Margin">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="get_margin" qualifiers="const">
<return type="float">
</return>
@@ -55,6 +63,16 @@
Returns the "offset" of a stylebox. This helper function returns a value equivalent to [code]Vector2(style.get_margin(MARGIN_LEFT), style.get_margin(MARGIN_TOP))[/code].
</description>
</method>
+ <method name="set_default_margin">
+ <return type="void">
+ </return>
+ <argument index="0" name="margin" type="int" enum="Margin">
+ </argument>
+ <argument index="1" name="offset" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="test_mask" qualifiers="const">
<return type="bool">
</return>