diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2019-10-03 11:02:51 +0200 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-07-01 11:31:27 +0200 |
commit | 5f1d94bb7d3b0cea18f946c69d055b9aa85c60c4 (patch) | |
tree | 5ee1e7f1f6de4c2356e368c6eaa993477485198d /doc | |
parent | 719609522a30fa9e3b96b028ac5a1d1a65f1678f (diff) |
Added flip_h and flip_v properties in TextureButton
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/TextureButton.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/TextureButton.xml b/doc/classes/TextureButton.xml index 0e2872755e..a5172586fe 100644 --- a/doc/classes/TextureButton.xml +++ b/doc/classes/TextureButton.xml @@ -15,6 +15,12 @@ <member name="expand" type="bool" setter="set_expand" getter="get_expand" default="false"> If [code]true[/code], the texture stretches to the edges of the node's bounding rectangle using the [member stretch_mode]. If [code]false[/code], the texture will not scale with the node. </member> + <member name="flip_h" type="bool" setter="set_flip_h" getter="is_flipped_h" default="false"> + If [code]true[/code], texture is flipped horizontally. + </member> + <member name="flip_v" type="bool" setter="set_flip_v" getter="is_flipped_v" default="false"> + If [code]true[/code], texture is flipped vertically. + </member> <member name="stretch_mode" type="int" setter="set_stretch_mode" getter="get_stretch_mode" enum="TextureButton.StretchMode" default="0"> Controls the texture's behavior when you resize the node's bounding rectangle, [b]only if[/b] [member expand] is [code]true[/code]. Set it to one of the [enum StretchMode] constants. See the constants to learn more. </member> |