class Origami::Destination::HorizontalBoudingBoxFit

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

Public Class Methods

[](page, top: 0) click to toggle source

Creates a new horizontal bounding box fit Destination.

page

The destination Page.

top

The vertical coord.

# File lib/origami/destinations.rb, line 208
def self.[](page, top: 0)
    self.new([page, :FitBH, top])
end
new(array) click to toggle source
Calls superclass method Origami::Array::new
# File lib/origami/destinations.rb, line 197
def initialize(array)
    super(array)

    @page, _, @top = array
end