Difference between revisions of "Template:UI Object Attributes (Image)"
Jump to navigation
Jump to search
m (Hsyco moved page UI Object Attributes Image to UI Object Attributes (Image) without leaving a redirect) |
|||
(18 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
=== Image attributes === | === Image attributes === | ||
{| class="wikitable" | {| class="wikitable" | ||
+ | !Name | ||
+ | !Value | ||
+ | !Description | ||
|- | |- | ||
− | |img | + | |rowspan="3"|img |
− | |full url (http://...) | + | |<full url <nowiki>(http://...)</nowiki>> |
− | | | + | |rowspan="2"|Set the image source |
|- | |- | ||
+ | |<nowiki><path relative to the project's img/ path></nowiki> | ||
+ | |- | ||
+ | |<empty string> | ||
+ | |Empty picture | ||
+ | |- | ||
+ | |||
|draw | |draw | ||
− | | | + | |<draw instructions> |
− | |Draws the image. See | + | |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'); | ||
+ | |- | ||
+ | |||
+ | |legacymode | ||
+ | |true | ||
+ | |To use with the draw attribute. Enables a compatibility mode that allows draw instructions on old browsers. It works by sending instructions to the HSYCO server that generates an image. For this reason it's slower. | ||
|} | |} |
Latest revision as of 11:58, 2 December 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'); |
legacymode | true | To use with the draw attribute. Enables a compatibility mode that allows draw instructions on old browsers. It works by sending instructions to the HSYCO server that generates an image. For this reason it's slower. |