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

From HSYCO
Jump to navigation Jump to search
 
(12 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|-
 
|-
 
|img
 
|img
|full url (http://...), path relative to /img/
+
|&lt;full url <nowiki>(http://...)</nowiki>&gt; <nowiki>|</nowiki> &lt;path relative to /img/&gt;
 
|Changes the image source
 
|Changes the image source
 
|-
 
|-
 
|draw
 
|draw
|Draw instructions
+
|<draw instructions>
|Draws the image. See draw.png api
+
|Draws the image. See the [[Draw API]]
 
e.g.: line(0,100,20,50,blue);line(50,50,70,70,'255,10,150');
 
e.g.: line(0,100,20,50,blue);line(50,50,70,70,'255,10,150');
 
|}
 
|}

Latest revision as of 18:30, 3 March 2014

Image attributes

img <full url (http://...)> | <path relative to /img/> Changes the image source
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');