Class: EideticPDF::PdfObjects::PdfSoundAnnot

Inherits:
PdfAnnot show all
Defined in:
lib/epdfo.rb

Instance Attribute Summary

Attributes inherited from IndirectObject

#gen, #seq

Instance Method Summary collapse

Methods inherited from PdfAnnot

#appearance_dictionary=, #appearance_state=, #border=, #border_style=, #color=, #flags=, #highlight=, #mod_date=, #title=

Methods inherited from PdfDictionaryObject

#body, #dictionary

Methods inherited from IndirectObject

#body, #footer, #header, #reference_object, #reference_string, #to_s

Constructor Details

#initialize(seq, gen, rect, sound) ⇒ PdfSoundAnnot

Returns a new instance of PdfSoundAnnot.



676
677
678
679
680
# File 'lib/epdfo.rb', line 676

def initialize(seq, gen, rect, sound)
  # sound: PdfStream
  super(seq, gen, 'Sound', rect)
  dictionary['Sound'] = sound
end