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

From HSYCO
Jump to navigation Jump to search
Line 7: Line 7:
 
|rowspan="3"|img
 
|rowspan="3"|img
 
|&lt;full url <nowiki>(http://...)</nowiki>&gt;  
 
|&lt;full url <nowiki>(http://...)</nowiki>&gt;  
|rowspan="2"|Set the image source.
+
|rowspan="2"|Set the image source
 
|-
 
|-
 
|<nowiki>&lt;path relative to the project's img/ path&gt;</nowiki>
 
|<nowiki>&lt;path relative to the project's img/ path&gt;</nowiki>
 
|-
 
|-
 
|<empty string>
 
|<empty string>
|Empty picture.
+
|Empty picture
 
|-
 
|-
  

Revision as of 16:32, 14 February 2017

Image attributes

Name Value Description
img <full url (http://...)> Set the image source
<path relative to the project's img/ path>
<empty string> Empty picture
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');