Class: PdfTempura::Render::Debug::Annotation::Base
- Inherits:
-
Object
- Object
- PdfTempura::Render::Debug::Annotation::Base
- Includes:
- FieldBounds
- Defined in:
- lib/pdf_tempura/render/debug/annotation/base.rb
Direct Known Subclasses
CharacterFieldAnnotation, OutsideAnnotation, TextFieldAnnotation
Instance Method Summary collapse
-
#initialize(field) ⇒ Base
constructor
A new instance of Base.
- #render(pdf) ⇒ Object
Constructor Details
#initialize(field) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/pdf_tempura/render/debug/annotation/base.rb', line 7 def initialize(field) @field = field end |
Instance Method Details
#render(pdf) ⇒ Object
11 12 13 14 15 |
# File 'lib/pdf_tempura/render/debug/annotation/base.rb', line 11 def render(pdf) set_field_styling(pdf) render_boxes(pdf) render_text(pdf) end |