class Origami::Destination::HorizontalFit

Class representing a Destination fitting a Page horizontally.

Public Class Methods

new(pageref, top = 0) click to toggle source

Creates a new horizontal fit destination.

pageref

A Reference to a Page.

top

The vertical coord in the Page.

Calls superclass method Origami::Array.new
# File lib/origami/destinations.rb, line 104
def initialize(pageref, top = 0)
  
  @top = top
  super([pageref, :FitH, top])
  
end