Class: EideticPDF::PdfObjects::PdfTextAnnot
- Inherits:
-
PdfAnnot
- Object
- IndirectObject
- PdfDictionaryObject
- PdfAnnot
- EideticPDF::PdfObjects::PdfTextAnnot
- Defined in:
- lib/epdfo.rb
Instance Attribute Summary
Attributes inherited from IndirectObject
Instance Method Summary collapse
-
#initialize(seq, gen, rect, contents) ⇒ PdfTextAnnot
constructor
A new instance of PdfTextAnnot.
- #open=(open) ⇒ Object
Methods inherited from PdfAnnot
#appearance_dictionary=, #appearance_state=, #border=, #border_style=, #color=, #flags=, #highlight=, #mod_date=, #title=
Methods inherited from PdfDictionaryObject
Methods inherited from IndirectObject
#body, #footer, #header, #reference_object, #reference_string, #to_s
Constructor Details
#initialize(seq, gen, rect, contents) ⇒ PdfTextAnnot
Returns a new instance of PdfTextAnnot.
631 632 633 634 |
# File 'lib/epdfo.rb', line 631 def initialize(seq, gen, rect, contents) super(seq, gen, 'Text', rect) dictionary['Contents'] = PdfString.new(contents) end |
Instance Method Details
#open=(open) ⇒ Object
636 637 638 |
# File 'lib/epdfo.rb', line 636 def open=(open) dictionary['Open'] = PdfBoolean.new(open) end |