Class: Pdfrb::Annotation::Link

Inherits:
Base
  • Object
show all
Defined in:
lib/pdfrb/annotation/types.rb

Overview

Link annotation (hyperlink). ยง12.5.6.5

Class Method Summary collapse

Methods inherited from Base

create, register_as

Class Method Details

.default_fieldsObject



29
30
31
# File 'lib/pdfrb/annotation/types.rb', line 29

def default_fields
  { H: :I } # Invert highlight by default
end

.subtypeObject



27
# File 'lib/pdfrb/annotation/types.rb', line 27

def subtype; :Link; end