CHAPTER 8
626
Interactive Features
Line Annotations
A
line annotation (PDF 1.3)
displays a single straight line on the page. When
opened, it displays a pop-up window containing the text of the associated note.
tation.
TABLE 8.26 Additional entries specific to a line annotation
KEY
TYPE
VALUE
Subtype
name
array
(Required)
The type of annotation that this dictionary describes; must be
Line
for a line annotation.
(Required)
An array of four numbers,
[
x
1
y
1
x
2
y
2
]
, specifying the starting and
ending coordinates of the line in default user space.
Note:
If the
LL
entry is present, this value represents the endpoints of the leader
lines rather than the endpoints of the line itself; see Figure 8.5.
L
BS
dictionary
(Optional)
A border style dictionary (see Table 8.17 on page 611) specifying the
width and dash pattern to be used in drawing the line.
Note:
The annotation dictionary’s
AP
entry, if present, takes precedence over the
L
and
BS
entries; see Table 8.15 on page 606 and Section 8.4.4, “Appearance Streams.”
LE
array
(Optional; PDF 1.4)
An array of two names specifying the line ending styles to be
used in drawing the line. The first and second elements of the array specify the
line ending styles for the endpoints defined, respectively, by the first and second
pairs of coordinates, (
x
1
,
y
1
) and (
x
2
,
y
2
), in the
L
array. Table 8.27 shows the
possible values. Default value:
[ /None /None ]
.
(Optional; PDF 1.4)
An array of numbers in the range 0.0 to 1.0 specifying the
interior color
with which to fill the annotation’s line endings (see Table 8.27). The
number of array elements determines the color space in which the color is de-
fined:
0
1
3
4
No color; transparent
DeviceGray
DeviceRGB
DeviceCMYK
IC
array