Key |
Type |
Value |
---|---|---|
Subtype |
name |
(Required) The type of annotation that this dictionary describes; shall be Line for a line annotation. |
L |
array |
(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. If the LL entry is present, this value shall represent the endpoints of the leader lines rather than the endpoints of the line itself; see Figure 60 . |
BS |
dictionary |
(Optional) A border style dictionary (see Table 166 ) specifying the width and dash pattern that shall be used in drawing the line. The annotation dictionary’s AP entry, if present, shall take precedence over the L and BS entries; see Ta b l e 168 and 12.5.5, “Appearance Streams.” |
LE |
array |
(Optional; PDF 1.4) An array of two names specifying the line ending styles that shall be used in drawing the line. The first and second elements of the array shall 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 176 shows the possible values. Default value: [ /None /None ]. |
IC |
array |
(Optional; PDF 1.4) An array of numbers in the range 0.0 to 1.0 specifying the interior color that shall be used to fill the annotation’s line endings (see Ta b l e 176 ). The number of array elements shall determine the colour space in which the colour is defined: 0 No colour; transparent 1DeviceGray 3DeviceRGB 4DeviceCMYK |
LL |
number |
(Required if LLE is present, otherwise optional; PDF 1.6) The length of leader lines in default user space that extend from each endpoint of the line perpendicular to the line itself, as shown in Figure 60 . A positive value shall mean that the leader lines appear in the direction that is clockwise when traversing the line from its starting point to its ending point (as specified by L); a negative value shall indicate the opposite direction. Default value: 0 (no leader lines). |
LLE |
number |
(Optional; PDF 1.6) A non-negative number that shall represents the length of leader line extensions that extend from the line proper 180 degrees from the leader lines, as shown in Figure 60 . Default value: 0 (no leader line extensions). |
Cap |
boolean |
(Optional; PDF 1.6) If true, the text specified by the Contents or RCentries shall be replicated as a caption in the appearance of the line, as shown in Figure 61 and Figure 62 . The text shall be rendered in a manner appropriate to the content, taking into account factors such as writing direction. Default value: false. |
IT |
name |
(Optional; PDF 1.6) A name describing the intent of the line annotation (see also Ta b l e 170 ). Valid values shall be LineArrow, which means that the annotation is intended to function as an arrow, and LineDimension, which means that the annotation is intended to function as a dimension line. |
LLO |
number |
(Optional; PDF 1.7) A non-negative number that shall represent the length of the leader line offset, which is the amount of empty space between the endpoints of the annotation and the beginning of the leader lines. |
CP |
name |
(Optional; meaningful only if Cap is true; PDF 1.7) A name describing the annotation’s caption positioning. Valid values are Inline, meaning the caption shall be centered inside the line, and Top, meaning the caption shall be on top of the line. Default value: Inline |
Measure |
dictionary |
(Optional; PDF 1.7) A measure dictionary (see Table 261 ) that shall specify the scale and units that apply to the line annotation. |
CO |
array |
(Optional; meaningful only if Cap is true; PDF 1.7) An array of two numbers that shall specify the offset of the caption text from its normal position. The first value shall be the horizontal offset along the annotation line from its midpoint, with a positive value indicating offset to the right and a negative value indicating offset to the left. The second value shall be the vertical offset perpendicular to the annotation line, with a positive value indicating a shift up and a negative value indicating a shift down. Default value: [0, 0] (no offset from normal positioning) |