diff options
| author | Rémi Verschelde | 2017-11-24 23:16:30 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-11-24 23:16:30 +0100 |
| commit | 7dfba3cda9f13427f9f10a6eefbec52aef62274c (patch) | |
| tree | 37231b14dfe24e8597ca5c780bb151696cda9b57 /doc/classes/TextureButton.xml | |
| parent | 2bc6db65c14f00de5a0349e910037ca2db7fc103 (diff) | |
| download | godot-7dfba3cda9f13427f9f10a6eefbec52aef62274c.tar.gz godot-7dfba3cda9f13427f9f10a6eefbec52aef62274c.tar.zst godot-7dfba3cda9f13427f9f10a6eefbec52aef62274c.zip | |
doc: Fix enum tags thanks to 2bc6db6
Diffstat (limited to 'doc/classes/TextureButton.xml')
| -rw-r--r-- | doc/classes/TextureButton.xml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/classes/TextureButton.xml b/doc/classes/TextureButton.xml index 2ce9b3782..9074966f4 100644 --- a/doc/classes/TextureButton.xml +++ b/doc/classes/TextureButton.xml @@ -40,25 +40,25 @@ </member> </members> <constants> - <constant name="STRETCH_SCALE" value="0"> + <constant name="STRETCH_SCALE" value="0" enum="StretchMode"> Scale to fit the node's bounding rectangle. </constant> - <constant name="STRETCH_TILE" value="1"> + <constant name="STRETCH_TILE" value="1" enum="StretchMode"> Tile inside the node's bounding rectangle. </constant> - <constant name="STRETCH_KEEP" value="2"> + <constant name="STRETCH_KEEP" value="2" enum="StretchMode"> The texture keeps its original size and stays in the bounding rectangle's top-left corner. </constant> - <constant name="STRETCH_KEEP_CENTERED" value="3"> + <constant name="STRETCH_KEEP_CENTERED" value="3" enum="StretchMode"> The texture keeps its original size and stays centered in the node's bounding rectangle. </constant> - <constant name="STRETCH_KEEP_ASPECT" value="4"> + <constant name="STRETCH_KEEP_ASPECT" value="4" enum="StretchMode"> Scale the texture to fit the node's bounding rectangle, but maintain the texture's aspect ratio. </constant> - <constant name="STRETCH_KEEP_ASPECT_CENTERED" value="5"> + <constant name="STRETCH_KEEP_ASPECT_CENTERED" value="5" enum="StretchMode"> Scale the texture to fit the node's bounding rectangle, center it, and maintain its aspect ratio. </constant> - <constant name="STRETCH_KEEP_ASPECT_COVERED" value="6"> + <constant name="STRETCH_KEEP_ASPECT_COVERED" value="6" enum="StretchMode"> Scale the texture so that the shorter side fits the bounding rectangle. The other side clips to the node's limits. </constant> </constants> |
