Type:: Annotation:: AppearanceDictionary
The appearance dictionary references appearance streams for various use cases.
Each appearance can either be an XObject or a dictionary mapping names to XObjects. The latter is used when the appearance depends on the state of the annotation, e.g. a check box widget that can be checked or unchecked.
See: PDF1.7 s12.5.5
|Name||Type/Allowed Values||Required||Default Value|
|N||HexaPDF::Dictionary or HexaPDF::Stream or Hash||true||nil|
|R||HexaPDF::Dictionary or HexaPDF::Stream or Hash||false||nil|
|D||HexaPDF::Dictionary or HexaPDF::Stream or Hash||false||nil|
Public Instance Methods
The down appearance which should be used when the mouse button is pressed or held down inside the active area of the annotation.
The annotation's normal appearance.
The rollover appearance which should be used when the cursor is moved into the active area of the annotation without pressing a button.
Sets the appearance of the given appearance
type, which can either be :normal, :rollover or :down, to
state_name argument is provided, the
appearance is stored under the
state_name key in a sub-dictionary of the appearance.