class RestPki::HeightDefinedFixedWidth

Public Class Methods

new(container) click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 207
def initialize(container)
    @container = container
end

Public Instance Methods

anchor_left(margin=0.0) click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 211
def anchor_left(margin=0.0)
    @container.left = margin
    @container
end
anchor_right(margin=0.0) click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 216
def anchor_right(margin=0.0)
    @container.right = margin
    @container
end
center() click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 221
def center
    @container
end