Class | Origami::Destination::Zoom |
In: |
sources/parser/destinations.rb
|
Parent: | Origami::Array |
Class representing a Destination zooming on a part of a document.
Creates a new zoom Destination.
pageref: | A Reference to a Page. |
left, top: | Coords in the Page. |
zoom: | Zoom factor. |
# File sources/parser/destinations.rb, line 50 50: def initialize(pageref, left = 0, top = 0, zoom = 0, indirect = false) 51: 52: @left, @top, @zoom = left, top, zoom 53: 54: super([pageref, :XYZ, left, top, zoom], indirect) 55: 56: end