vendor/plugins/prawn/lib/prawn/document/annotations.rb
# Adds a new annotation (section 8.4 in PDF spec) to the current page.
# +options+ must be a Hash describing the annotation.
Adds a new annotation (section 8.4 in PDF spec) to the current page.
+options+ must be a Hash describing the annotation.
Adds a new annotation ( section 8 . 4 in PDF spec ) to the current page . + options + must be a Hash describing the annotation .
def annotate(options)
        @current_page.data[:Annots] ||= []
        options = sanitize_annotation_hash(options)
        @current_page.data[:Annots] << ref(options)
        return options
      end
def annotate ( options ) @current_page . data [ :Annots ] ||= [ ] options = sanitize_annotation_hash ( options ) @current_page . data [ :Annots ] << ref ( options ) return options end
Adds a new annotation (section 8.4 in PDF spec) to the current page.
Adds a new annotation ( section 8 . 4 in PDF spec ) to the current page .
options
<not_specific>