thickness

Specifies the thickness of a line item. The unit of measurement is pixels.

Syntax

   <thickness>thickness</thickness>
Table 1. thickness parameter
Parameter Type Description
thickness unsigned byte the thickness of the line

Available in

line

Example

This sample defines a horizontal line 40 characters long and five pixels thick:

   <size>
      <width>40</width>
      <height>0</height>
   </size>
   <thickness>5</thickness>

Usage details

  1. Default: one pixel
  2. Use size to define the dimension of a line in one direction (height or width) and thickness to define the dimension in the other direction. The dimension thickness defines must be set to zero in size.
  3. The line's thickness may be changed by using itemlocation with an expansion modifier for the dimension that thickness describes.