Methods

Included Modules

Class/Module Index [+]

Quicksearch

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.

pageref

A Reference to a Page.

left, top

Coords in the Page.

zoom

Zoom factor.

# 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

[Validate]

Generated with the Darkfish Rdoc Generator 2.