Method: PDF::Reader::TextRun#intersect?
- Defined in:
- lib/pdf/reader/text_run.rb
#intersect?(other_run) ⇒ Boolean
75 76 77 78 |
# File 'lib/pdf/reader/text_run.rb', line 75 def intersect?(other_run) x <= other_run.endx && endx >= other_run.x && endy >= other_run.y && y <= other_run.endy end |