Method: PDF::Core::Page#margins

Defined in:
lib/pdf/core/page.rb

#marginsHash<[:left, :right, :top, :bottom], Numeric>

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Page margins.

Returns:

  • (Hash<[:left, :right, :top, :bottom], Numeric>)

    Hash<[:left, :right, :top, :bottom], Numeric>



34
35
36
# File 'lib/pdf/core/page.rb', line 34

def margins
  @margins
end