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

From HSYCO
Jump to navigation Jump to search
Line 33: Line 33:
  
 
|width
 
|width
|<size>
+
|<width>
 
|Width in pixels E.g. ''150''
 
|Width in pixels E.g. ''150''
 
|-
 
|-
  
 
|height
 
|height
|<size>
+
|<height>
 
|Height in pixels E.g. ''150''
 
|Height in pixels E.g. ''150''
 
|-
 
|-

Revision as of 13:34, 12 May 2015

Common attributes

Name Value Description
pos x<x>y<y> Position specified as x/y coordinates. E.g. x-5y10
r<r>c<c> Position specified as row/column. E.g. r1c2
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
width <width> Width in pixels E.g. 150
height <height> Height in pixels E.g. 150
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