class Origami::Destination::RectangleFit
Class representing a Destination fitting the view on a rectangle in a Page.
Public Class Methods
new(pageref, left = 0, bottom = 0, right = 0, top = 0)
click to toggle source
Creates a new rectangle fit Destination.
Calls superclass method
Origami::Array.new
# File lib/origami/destinations.rb, line 143 def initialize(pageref, left = 0, bottom = 0, right = 0, top = 0) @left, @bottom, @right, @top = left, bottom, right, top super([pageref, :FitR, left, bottom, right, top]) end