Module | Prawn::Document::Destinations |
In: |
lib/prawn/document/destinations.rb
|
Same as dest_fit_horizontally, but works on the page‘s bounding box instead of the entire page.
Same as dest_fit_vertically, but works on the page‘s bounding box instead of the entire page.
Return a Dest specification that will fit the given page horizontally into the viewport, aligned vertically at the given top coordinate.
Return a Dest specification that will fit the given rectangle into the viewport, for the given page.
Return a Dest specification that will fit the given page vertically into the viewport, aligned horizontally at the given left coordinate.