## Macro Command Reference

`frect <tag> <COOR> <x> <y> <w> <h> [linewidth] [dash] [c] [c] [c] [cf] [cf] [cf]`
`frect <tag> <COOR> <x> <y> <w> <h> [linewidth] [dash] [COLOR] [COLOR]`

Draw a filled rectangle with the given attributes.
`<tag>`: The `tag` argument should be an integer value which can be used later to address a graphic or text object. Interactively created text or graphic objects always have the tag 0.
`<COOR>`: The coordinate system to which the rectangle belongs.
`<x>`, `<y>`: The position of the rectangle in the defined coordinate system.
`<w>`, `<h>`: The size of the rectangle in the defined coordinate system.
`[linewidth]`: The rectangles line width.
`[dash]`: The dash pattern for the rectangle (0-15).
`[c] [c] [c]`: The color of the rectangle. Dependent on the color mode the three values are RGB or HSB values from 0.0 to 1.0. The color mode can be set with the command `colormode` (0=RGB, 1=HSB). Alternative you can specify the color as hexadecimal string.
`[cf] [cf] [cf]`: The fill color of the rectangle. Dependent on the color mode the three values are RGB or HSB values from 0.0 to 1.0. The color mode can be set with the command `colormode` (0=RGB, 1=HSB). Alternative you can specify the color as hexadecimal string.