Module: Fourmi::Prawn::Utils::Extensions::StrokeRoundedBounds

Defined in:
lib/fourmi/prawn/utils/extensions/stroke_rounded_bounds.rb

Instance Method Summary collapse

Instance Method Details

#stroke_rounded_bounds(radius = 2) ⇒ Object



4
5
6
# File 'lib/fourmi/prawn/utils/extensions/stroke_rounded_bounds.rb', line 4

def stroke_rounded_bounds(radius = 2)
  stroke_rounded_rectangle [0, bounds.top], bounds.width, bounds.height, radius
end