A class that represents a style with which lines will be drawn.
| Public Attributes |
| cap |
The type of cap to put on the line.
|
| dash |
Controls the pattern of dashes and gaps used to stroke paths. This value
must either be nil, or a hash with the following values:
|
| join |
How two lines join together.
|
| miter_limit |
When two line segments meet and :miter joins have been specified,
the miter may extend far beyond the thickness of the line stroking the
path. #miter_limit imposes a maximum ratio miter length to line width at
which point the join will be converted from a miter to a bevel. Adobe
points out that the ratio is directly related to the angle between the
segments in user space. With [p] representing the angle at which the
segments meet:
|
| width |
The thickness of the line in PDF units.
|
<code/>and<pre/>for code samples.