Class: Pdfrb::Model::Type::DestinationFitR

Inherits:
Destination show all
Defined in:
lib/pdfrb/model/type/destination.rb

Overview

[page, :FitR, left, bottom, right, top] — rectangle fits the window (s12.3.2.2).

Direct Known Subclasses

DestinationFitRStruct

Instance Attribute Summary

Attributes inherited from Object

#document, #gen, #oid, #value

Instance Method Summary collapse

Methods inherited from Destination

#display_type, #fit?, #fit_b?, #fit_bh?, #fit_bv?, #fit_h?, #fit_r?, #fit_v?, #page_number, #page_number?, #page_ref, #xyz?

Methods inherited from PdfArray

#<<, #==, #[], #[]=, apply_arlington_definition, arlington_definition, #delete_at, #each, element_field, #empty?, #initialize, #inspect, #length, #push, #to_a

Methods included from Cos::ArlingtonBacked

#arlington_object

Methods inherited from Object

#==, define_type, #deref, #indirect?, #initialize, #must_be_indirect?, #pdf_type, pdf_type

Constructor Details

This class inherits a constructor from Pdfrb::Model::PdfArray

Instance Method Details

#bottomObject



64
# File 'lib/pdfrb/model/type/destination.rb', line 64

def bottom; self[3]; end

#leftObject



63
# File 'lib/pdfrb/model/type/destination.rb', line 63

def left; self[2]; end

#rightObject



65
# File 'lib/pdfrb/model/type/destination.rb', line 65

def right; self[4]; end

#topObject



66
# File 'lib/pdfrb/model/type/destination.rb', line 66

def top; self[5]; end