Class: Laser::Cutter::Renderer::RectRenderer
- Defined in:
- lib/laser-cutter/renderer/rect_renderer.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
#config, #enclosure, #page_manager, #subject
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Laser::Cutter::Renderer::Base
Instance Method Details
#render(pdf) ⇒ Object
6 7 8 9 10 |
# File 'lib/laser-cutter/renderer/rect_renderer.rb', line 6 def render pdf rect.sides.each do |side| LineRenderer.new(config, side).render(pdf) end end |