x: The horizontal position of the rectangle's upper-left corner relative to the upper left corner of the canvas (0, 0). The default is zero
y: The vertical position of the rectangle's upper-left corner relative to the upper left corner of the canvas (0, 0). The default is zero
width: The rectangle's width. The default is 100
height: The rectangle's height. The default is 100
rotation: The rectangle's rotation around its upper-left point (x, y). The default value is zero
fill_color: The color inside the rectangle. This must be a string holding triple hexadecimal values representing the red, green, and blue components for a color. The default is "000000" (black)
fill_alpha: The transparency value inside the rectangle. Valid values are 0 (fully transparent) to 100 (fully opaque). The default is 100
line_color: The border's color. This must be a string holding triple hexadecimal values representing the red, green, and blue components for a color. The default is "000000" (black)
line_alpha: The border's transparency value. Valid values are 0 (fully transparent) to 100 (fully opaque). The default is 100
line_thickness: The border's thickness. The default is 0 pixels
Example
<gauge>
<!-- draw a red rectangle with a green outline -->
<rect x='50'
y='50'
width='250'
height='150'
rotation='0'
fill_color='ff0000'
fill_alpha='100'
line_color='00ff00'
line_alpha='90'
line_thickness='5'
/>
<!-- draw a rectangle with just a white outline -->
<rect x='300'
y='100'
width='75'
height='75'
rotation='20'
fill_alpha='0'
line_color='ffffff'
line_alpha='90'
line_thickness='8'
/>
</gauge>