class Origami::Destination::HorizontalBoudingBoxFit

Class representing a Destination fitting horizontally the bouding box a Page.

Public Class Methods

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

Creates a new horizontal bounding box fit Destination.

pageref

A Reference to a Page.

top

The vertical coord.

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