Previous Next


                                              607
         SECTION 8.4                                                            Anno ta tions



KEY         TYPE       VALUE

AS          name       (Required if the appearance dictionary AP contains one or more subdictionaries;
                       PDF 1.2) The annotation’s appearance state, which selects the applicable
                       appearance stream from an appearance subdictionary (see Section 8.4.4, “Ap-
                       pearance Streams” and also implementation note 79 in Appendix H).

Border      array      (Optional) An array specifying the characteristics of the annotation’s border.
                       The border is specified as a rounded rectangle.
                       In PDF 1.0, the array consists of three numbers defining the horizontal corner
                       radius, vertical corner radius, and border width, all in default user space units.
                       If the corner radii are 0, the border has square (not rounded) corners; if the
                       border width is 0, no border is drawn. (See implementation note 81 in Appen-
                       dix H.)
                       In PDF 1.1, the array may have a fourth element, an optional dash array
                       defining a pattern of dashes and gaps to be used in drawing the border. The
                       dash array is specified in the same format as in the line dash pattern parameter
                       of the graphics state (see “Line Dash Pattern” on page 217). For example, a Bor-
                       der value of [ 0 0 1 [ 3 2 ] ] specifies a border 1 unit wide, with square corners,
                       drawn with 3-unit dashes alternating with 2-unit gaps. Note that no dash phase
                       is specified; the phase is assumed to be 0. (See implementation note 82 in Ap-
                       pendix H.)
                       Note: In PDF 1.2 or later, this entry may be ignored in favor of the BS entry (see
                       above); see implementation note 82 in Appendix H.
                       Default value: [ 0 0 1 ].

C           array      (Optional; PDF 1.1) An array of numbers in the range 0.0 to 1.0, representing a
                       color used for the following purposes:
                       • The background of the annotation’s icon when closed
                       • The title bar of the annotation’s pop-up window
                       • The border of a link annotation
                       The number of array elements determines the color space in which the color is
                       defined:
                          0    No color; transparent
                          1    DeviceGray
                          3    DeviceRGB
                          4    DeviceCMYK

Previous Next