Method: PDF::Reader::TextRun#initialize
- Defined in:
- lib/pdf/reader/text_run.rb
#initialize(x, y, width, font_size, text) ⇒ TextRun
Returns a new instance of TextRun.
13 14 15 16 17 18 19 |
# File 'lib/pdf/reader/text_run.rb', line 13 def initialize(x, y, width, font_size, text) @x = x @y = y @width = width @font_size = font_size.floor @text = text end |