class RestPki::WidthDefinedFixedHeight

Public Class Methods

new(container) click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 170
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 179
def anchor_bottom(margin=0.0)
    @container.bottom = margin
    @container
end
anchor_top(margin=0.0) click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 174
def anchor_top(margin=0.0)
    @container.top = margin
    @container
end
center() click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 184
def center
    @container
end