prawn:Prawn::Box#bottom, ... #show
#!/usr/bin/env ruby require "prawn" require "prawn/layout" pdf = Prawn::Document.new pdf.define_grid(:columns => 3, :rows => 2, :gutter => 10) b = Prawn::Document::Box.new(pdf, 2, 3) p b.bottom p b.bottom_left p b.bottom_right p b.top p b.top_left p b.top_right p b.height p b.width p b.left p b.right p b.total_height p b.gutter p b.name p b.show
で、
-365.0 [550.0, -365.0] [723.333333333333, -365.0] -10.0 [550.0, -10.0] [723.333333333333, -10.0] 355.0 173.333333333333 550.0 723.333333333333 720.0 10.0 "2,3" #<Prawn::Document::BoundingBox:0xb7cadbb0 ...