[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The "rect" is a rectangular vector shape, with some additional options.
Example: This creates a normal rectangle filled with white and bordered by red.
<rect x="0" y="0" width="10" height="10" stroke="#ff0000" fill="#ffffff" /> |
The FVG rect command differs from its SVG relative in the following ways:
Name | Required | Example | Description |
| yes | | Sets the left x coordinate of the rectangle. |
| yes | | Sets the left y coordinate of the rectangle. |
| yes | | Sets the width of the rectangle. |
| yes | | Sets the height of the rectangle. |
| no | | A value greater than zero, but less than or equal to one. If this is present it means that the rectangle will have rounded corners. The higher this number, the more round the corners will be. |
| no | | A value greater than zero, but less than or equal to one. If this is present it means that the rectangle will have mitered corners. The higher this number, the more beveled the rectangle will be. If both `miter' and `roundness' are present, `roundness' takes precedence. |
| no | | Turns on stroking of the shape, and sets the color. If this is not present, the shape will not be stroked. Either this value or `fill' must be present or the shape will be invisible. |
| no | | Turns on filling of the shape, and sets the color. If this is not present, the shape will not be filled. Either this value or `stroke' must be present or the shape will be invisible. |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] |
This document was generated using texi2html 1.76.