Class Origami::Destination::Zoom
In: sources/parser/destinations.rb
Parent: Origami::Array

Class representing a Destination zooming on a part of a document.

Methods

new  

Included Modules

Destination

Public Class methods

Creates a new zoom Destination.

pageref:A Reference to a Page.
left, top:Coords in the Page.
zoom:Zoom factor.

[Source]

    # File sources/parser/destinations.rb, line 50
50:       def initialize(pageref, left = 0, top = 0, zoom = 0, indirect = false)
51:         
52:         @left, @top, @zoom = left, top, zoom
53:         
54:         super([pageref, :XYZ, left, top, zoom], indirect)
55:         
56:       end

[Validate]