class RestPki::FixedHeight
Public Class Methods
new(container)
click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 91 def initialize(container) @container = container end
Public Instance Methods
anchor_bottom(margin=0.0)
click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 100 def anchor_bottom(margin=0.0) @container.bottom = margin HeightDefined.new(@container) end
anchor_top(margin=0.0)
click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 95 def anchor_top(margin=0.0) @container.top = margin HeightDefined.new(@container) end
center()
click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 105 def center HeightDefined.new(@container) end