256
edits
(→Shape) |
(→Layout) |
||
Line 79: | Line 79: | ||
|- | |- | ||
| thickness || Sets the border's thickness. Works on lines and hollow shapes. || ''1-10'' || 1 | | thickness || Sets the border's thickness. Works on lines and hollow shapes. || ''1-10'' || 1 | ||
|} | |||
==== Text ==== | |||
{| class="wikitable" | |||
|- | |||
! Attribute !! Description !! Values !! Default | |||
|- | |||
| position || Sets the text's position. Relative to the bottom left corner, if nothing else is set in the align attribute. || ''x-pos''x''y-pos''|| 0x0 | |||
|- | |||
| size || Sets the text's size. || ''width''x''height'' || 10x10 | |||
|- | |||
| color || Sets the text's color. || ''#<hex>'' or ''R, G, B'' || #000000 | |||
|- | |||
| alpha || Sets the text's opacity. Doesn't work very well with ellipses || ''1-100'' || 100 | |||
|- | |||
| angle || Sets the text's || ''true'' or ''false'' || true | |||
|- | |||
| thickness || Sets the border's thickness. Works on lines and hollow shapes. || ''1-10'' || 1 | |||
|} | |||
===== Line ===== | |||
{| class="wikitable" | |||
|- | |||
! Attribute !! Description !! Values !! Default | |||
|- | |||
| src || Sets which image that should be included || Any title available in the library || ''none'' | |||
|- | |||
| position || Sets the included image's position || ''x-pos''x''y-pos''|| 0x0 | |||
|- | |||
| size || Sets the included image's size || ''width''x''height'' || Image's own size | |||
|} | |||
==== Shape ==== | |||
{| class="wikitable" | |||
|- | |||
! Attribute !! Description !! Values !! Default | |||
|- | |||
| type || Defines the type of shape. || rectangle, ellipse or line || ''none'' | |||
|- | |||
| position || Sets the shape's position. || ''x-pos''x''y-pos''|| 0x0 | |||
|- | |||
| size || Sets the shape's size. || ''width''x''height'' || 10x10 | |||
|- | |||
| color || Sets the shape's color. || ''#<hex>'' or ''R, G, B'' || #000000 | |||
|- | |||
| alpha || Sets the shape's opacity. Doesn't work very well with ellipses || ''1-100'' || 100 | |||
|- | |||
| hollow || Sets whether the shape should be hollow or not. || ''true'' or ''false'' || true | |||
|- | |||
| thickness || Sets the border's thickness. Works on lines and hollow shapes. || ''1-10'' || 1 | |||
|} | |||
==== Text ==== | |||
{| class="wikitable" | |||
|- | |||
! Attribute !! Description !! Values !! Default | |||
|- | |||
| colspan="4" | Same as text except position and align. | |||
|} | |} |
edits