class RestPki::HeightDefined
Public Class Methods
new(container)
click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 148 def initialize(container) @container = container end
Public Instance Methods
full_width()
click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 161 def full_width @container.left = 0.0 @container.right = 0.0 @container end
var_width()
click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 157 def var_width HeightDefinedVarWidth.new(@container) end
width(value)
click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 152 def width(value) @container.width = value HeightDefinedFixedWidth.new(@container) end