Class: Pdf::Components::Span

Inherits:
Pdf::Component show all
Defined in:
lib/pdf/components/span.rb

Instance Attribute Summary

Attributes inherited from Pdf::Component

#pdf

Instance Method Summary collapse

Methods inherited from Pdf::Component

#initialize

Constructor Details

This class inherits a constructor from Pdf::Component

Instance Method Details

#render(content, size: 10, **options) ⇒ Object



6
7
8
9
# File 'lib/pdf/components/span.rb', line 6

def render(content, size: 10, **options)
  text content, size: size, **options
  move_down 3
end