Methods

Included Modules

Class/Module Index [+]

Quicksearch

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.

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.