Difference between revisions of "Template:UI Object Attributes (Image)"

From HSYCO
Jump to navigation Jump to search
Line 5: Line 5:
 
!Description
 
!Description
 
|-
 
|-
|img
+
|rowspan="2"|img
|&lt;full url <nowiki>(http://...)</nowiki>&gt; <nowiki>|</nowiki> &lt;path relative to /img/&gt;
+
|&lt;full url <nowiki>(http://...)</nowiki>&gt;  
|Changes the image source. Set to "" (empty string) to load the empty picture.
+
|rowspan="2"|Changes the image source. Set to "" (empty string) to load the empty picture.
 
|-
 
|-
 +
|<nowiki>&lt;path relative to /img/&gt;</nowiki>
 +
|-
 +
 
|draw
 
|draw
 
|<draw instructions>
 
|<draw instructions>

Revision as of 16:27, 14 February 2017

Image attributes

Name Value Description
img <full url (http://...)> Changes the image source. Set to "" (empty string) to load the empty picture.
<path relative to /img/>
draw <draw instructions> Draws the image. See the Draw API

e.g.: line(0,100,20,50,blue);line(50,50,70,70,'255,10,150');