Box
Create a rectangular colored area. The area must fit the grid cells.
Child elements
(none)
Parent elements
Attributes
background-color(text, optional, “CSS property”: background-color)- Color of the box. If the color name is a dash (
-), a transparent background is used. class(text, optional)- CSS class for this element.
height(number or length)- Height of the box in grid cells.
id(text, optional)- CSS id for this element.
style(text, optional)- CSS style for this element.
width(number or length)- Width of the box in grid cells or in absolute values.
Example
<DefineColor name="mygreen" model="cmyk" c="22" m="0" y="55" k="0"/>
<PlaceObject>
<Box width="10" height="5" background-color="mygreen"/>
</PlaceObject>looks like

See also
- Commands: Circle, PlaceObject
- Manual: Boxes and Shapes, Placing Objects: Boxes, Colors