class Origami::Destination
A destination represents a specified location into the document.
Attributes
bottom[R]
left[R]
page[R]
right[R]
top[R]
zoom[R]
Public Class Methods
GlobalBoundingBoxFit(page)
click to toggle source
# File lib/origami/destinations.rb, line 188 def self.GlobalBoundingBoxFit(page) GlobalBoundingBoxFit[page] end
GlobalFit(page)
click to toggle source
# File lib/origami/destinations.rb, line 92 def self.GlobalFit(page) GlobalFit[page] end
HorizontalBoudingBoxFit(page, top: 0)
click to toggle source
# File lib/origami/destinations.rb, line 213 def self.HorizontalBoudingBoxFit(page, top: 0) HorizontalBoudingBoxFit[page, top: top] end
HorizontalFit(page, top: 0)
click to toggle source
# File lib/origami/destinations.rb, line 117 def self.HorizontalFit(page, top: 0) HorizontalFit[page, top: top] end
RectangleFit(page, left: 0, bottom: 0, right: 0, top: 0)
click to toggle source
# File lib/origami/destinations.rb, line 164 def self.RectangleFit(page, left: 0, bottom: 0, right: 0, top: 0) RectangleFit[page, left: left, bottom: bottom, right: right, top: top] end
VerticalBoundingBoxFit(page, left: 0)
click to toggle source
# File lib/origami/destinations.rb, line 238 def self.VerticalBoundingBoxFit(page, left: 0) VerticalBoundingBoxFit[page, left: left] end
VerticalFit(page, left: 0)
click to toggle source
# File lib/origami/destinations.rb, line 139 def self.VerticalFit(page, left: 0) VerticalFit[page, left: left] end
Zoom(page, left: 0, top: 0, zoom: 0)
click to toggle source
# File lib/origami/destinations.rb, line 67 def self.Zoom(page, left: 0, top: 0, zoom: 0) Zoom[page, left: left, top: top, zoom: zoom] end