Next: Shadow Attributes, Previous: Common Attributes, Up: Common Attributes [Contents]

#### 8.6.1 Line and Fill Attributes

Currently line and fill attributes apply only in signalling charts and block diagrams. Graphviz has a totally different way of specifying line appearance via the `style=` attribute. Further languages planned to be added will use the below attributes.

`line.color`

  Specifies the color of the lines, see Specifying Colors for the syntax.

`line.width`

  Specifies the width of the line in pixels. In case of double or triple lines this is not the total width of the compound line, but only that of an individual components. E.g., a double line with `line.width=1` is three pixels wide in total.

`line.type`

  Specifies the type of the line. Its value can be `solid`, `dotted`, `dashed`, `long_dashed`, `dash_dotted`, `double`, `triple`, `triple_thick` or `none`.

`line.corner`

  For boxes-like elements this attribute specifies how the corners of the box are drawn. Its value can be `none`, `round`, `bevel`, `note`. It has sometimes effect on other elements. Signalling chart arrows pointing to the same entity use this. Also arrows in block diagrams are impacted.

`line.radius`

  Specifies the size of the corner above. In some cases it is also used to specify the turning radius of turning arrows (see `line.corner` above).

`fill.color`

  Defines the background of an element covering an area. Specifying `none` results in no fill at all (transparent).

`fill.color2`

  If this attribute is specified then the fill gradient will not be between `fill.color` and a lighter variant, but between `fill.color` and the value specified here. If no gradient specified or `button` is used, this attribute has no effect.

`fill.gradient`

  Defines the gradient of the fill. It can take five textual values `up`, `down`, `in`, `out` and `button`. The first two results in linear gradients getting darker in the direction indicated. The second two results in circular gradients with darker shades towards the center or edge of the entity box, respectively. The last one mimics light on a button. In addition, it can also be set to a numerical value, which result in a linear gradient and specifies the angle of it.

Next: Shadow Attributes, Previous: Common Attributes, Up: Common Attributes [Contents]