Method: HexaPDF::Type::Annotation#regenerate_appearance
- Defined in:
- lib/hexapdf/type/annotation.rb
#regenerate_appearance ⇒ Object
Regenerates the appearance stream of the annotation.
This uses the information stored in the annotation to regenerate the appearance.
See: Annotations::AppearanceGenerator
279 280 281 282 |
# File 'lib/hexapdf/type/annotation.rb', line 279 def regenerate_appearance appearance_generator_class = document.config.constantize('annotation.appearance_generator') appearance_generator_class.new(self).create_appearance end |