class Origami::Destination::Zoom
Class representing a Destination zooming on a part of a document.
Public Class Methods
new(pageref, left = 0, top = 0, zoom = 0)
click to toggle source
Creates a new zoom Destination.
Calls superclass method
Origami::Array.new
# File lib/origami/destinations.rb, line 65 def initialize(pageref, left = 0, top = 0, zoom = 0) @left, @top, @zoom = left, top, zoom super([pageref, :XYZ, left, top, zoom]) end