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

From HSYCO
Jump to navigation Jump to search
 
(9 intermediate revisions by one other user not shown)
Line 5: Line 5:
 
!Description
 
!Description
 
|-
 
|-
|rowspan="2"|pos
+
|pos
 
|x<x>y<y>
 
|x<x>y<y>
 
|Position specified as x/y coordinates. E.g. ''x-5y10''
 
|Position specified as x/y coordinates. E.g. ''x-5y10''
|-
 
|r<r>c<c>
 
|Position specified as row/column. E.g. ''r1c2''
 
 
|-
 
|-
  
Line 19: Line 16:
 
|false
 
|false
 
|Hide the object
 
|Hide the object
|-
 
 
|style
 
|red,green,blue...
 
|Set the button's style (color). Styles vary depending on the selected skin
 
 
|-
 
|-
  
Line 40: Line 32:
 
|0.0 ... 1.0
 
|0.0 ... 1.0
 
|Object opacity from 0 (not visible) to 1 (fully visible)
 
|Object opacity from 0 (not visible) to 1 (fully visible)
 +
|-
 +
 +
|rotation
 +
|0 ... 360
 +
|Object rotation in degrees. Images are rotated around the center point, all other objects are rotated around the top left corner
  
 
|}
 
|}

Latest revision as of 15:37, 7 November 2016

Common attributes

Name Value Description
pos x<x>y<y> Position specified as x/y coordinates. E.g. x-5y10
visible true Default. Show the object
false Hide the object
blink true | slow Blink the object at a slow speed
fast Blink the object at a fast speed
false Stop the blinking
opacity 0.0 ... 1.0 Object opacity from 0 (not visible) to 1 (fully visible)
rotation 0 ... 360 Object rotation in degrees. Images are rotated around the center point, all other objects are rotated around the top left corner