| Class | Origami::Destination::RectangleFit |
| In: |
sources/parser/destinations.rb
|
| Parent: | Origami::Array |
Class representing a Destination fitting the view on a rectangle in a Page.
Creates a new rectangle fit Destination.
| pageref: | A Reference to a Page. |
| left, bottom, right, top: | The rectangle to fit in. |
# File sources/parser/destinations.rb, line 128
128: def initialize(pageref, left = 0, bottom = 0, right = 0, top = 0, indirect = false)
129:
130: @left, @bottom, @right, @top = left, bottom, right, top
131: super([pageref, :FitR, left, bottom, right, top], indirect)
132:
133: end