class Origami::Destination::VerticalFit

Class representing a Destination fitting a Page vertically.

page

The destination Page.

left

The horizontal coord in the Page.

Public Class Methods

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

    @page, _,  @left = array
end