Class: RustPdf::TextHit
- Inherits:
-
Struct
- Object
- Struct
- RustPdf::TextHit
- Defined in:
- lib/rustpdf.rb
Overview
One positional text match from #find_text. Coordinates are in PDF points, origin lower-left; +x+/+y+ is the lower-left corner of the box.
Instance Attribute Summary collapse
-
#height ⇒ Object
Returns the value of attribute height.
-
#page ⇒ Object
Returns the value of attribute page.
-
#text ⇒ Object
Returns the value of attribute text.
-
#width ⇒ Object
Returns the value of attribute width.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Attribute Details
#height ⇒ Object
Returns the value of attribute height
200 201 202 |
# File 'lib/rustpdf.rb', line 200 def height @height end |
#page ⇒ Object
Returns the value of attribute page
200 201 202 |
# File 'lib/rustpdf.rb', line 200 def page @page end |
#text ⇒ Object
Returns the value of attribute text
200 201 202 |
# File 'lib/rustpdf.rb', line 200 def text @text end |
#width ⇒ Object
Returns the value of attribute width
200 201 202 |
# File 'lib/rustpdf.rb', line 200 def width @width end |
#x ⇒ Object
Returns the value of attribute x
200 201 202 |
# File 'lib/rustpdf.rb', line 200 def x @x end |
#y ⇒ Object
Returns the value of attribute y
200 201 202 |
# File 'lib/rustpdf.rb', line 200 def y @y end |