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

From HSYCO
Jump to navigation Jump to search
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
=== Image attributes ===
 +
{| class="wikitable"
 +
|-
 
|img
 
|img
|full url (http://...), path relative to /img/
+
|&lt;full url <nowiki>(http://...)</nowiki>&gt; <nowiki>|</nowiki> &lt;path relative to /img/&gt;
|When it applies, changes the image source
+
|Changes the image source. Set to "" (empty string) to load the empty picture.
 
|-
 
|-
 
|draw
 
|draw
|Draw instructions, ex: line(0,100,20,50,blue);line(50,50,70,70,'255,10,150');|When it applies, draws the image
+
|<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');
 +
|}

Latest revision as of 11:18, 27 April 2015

Image attributes

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