diff options
author | BlockMen <nmuelll@web.de> | 2013-09-19 20:39:19 +0200 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2013-09-20 20:03:58 +0200 |
commit | 27947d85f7543a16a6c70aff4e9dcdca814c40ba (patch) | |
tree | 604f8684ece07f5fff939c3ffaf50dfb0bc65228 /doc | |
parent | f7ee5da4c115231df3f4897db04fd308749efe55 (diff) | |
download | minetest-27947d85f7543a16a6c70aff4e9dcdca814c40ba.tar.gz minetest-27947d85f7543a16a6c70aff4e9dcdca814c40ba.tar.bz2 minetest-27947d85f7543a16a6c70aff4e9dcdca814c40ba.zip |
Add option to scale image to percentage values
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 1cd6a134e..43c719a43 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -478,8 +478,10 @@ Note: Future revisions to the HUD API may be incompatible; the HUD API is still - image Displays an image on the HUD. - - scale: The scale of the image, with 1 being the original texture size. - Only the X coordinate scale is used. + - scale: The scale of the image, with 1 being the original texture size. + Only the X coordinate scale is used (positive values) + Negative values represent that percentage of the screen it + should take; e.g. x=-100 means 100% (width) - text: The name of the texture that is displayed. - alignment: The alignment of the image. - offset: offset in pixels from position. |