summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoommetee Ketson <poommetee@protonmail.com>2017-09-12 13:10:12 +0700
committerGitHub <noreply@github.com>2017-09-12 13:10:12 +0700
commita1007cceb0628f6f92e7c30f8f2fe75ec7caae94 (patch)
tree1431504c5d8ea88963e198902a037ff0bd0d083b
parent73a8f621dd18b79cab8597d90f1bc633f6de956d (diff)
parentc68a34d6bf42ff2fbff2e7d9101e0083f3a77217 (diff)
Merge pull request #11113 from cbscribe/kcc_texturerect_doc
Update TextureRect class ref
-rw-r--r--doc/base/classes.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index d9153b1855..5d544c23e5 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -51904,10 +51904,10 @@
</class>
<class name="TextureRect" inherits="Control" category="Core">
<brief_description>
- Control Frame that draws a texture.
+ Control that draws a texture.
</brief_description>
<description>
- Control frame that simply draws an assigned texture. It can stretch or not. It's a simple way to just show an image in a UI.
+ Control that draws a texture.
</description>
<methods>
<method name="get_stretch_mode" qualifiers="const">
@@ -51955,10 +51955,13 @@
</methods>
<members>
<member name="expand" type="bool" setter="set_expand" getter="has_expand" brief="">
+ If [code]true[/code] texture will expand to fit. Default value: [code]false[/code].
</member>
<member name="stretch_mode" type="int" setter="set_stretch_mode" getter="get_stretch_mode" brief="" enum="TextureRect.StretchMode">
+ Stretch mode of the texture. Use STRETCH_* constants as value.
</member>
<member name="texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ The [Texture] resource for the node.
</member>
</members>
<constants>