Class: Pdf::ImageExtractor::Placement
- Inherits:
-
Data
- Object
- Data
- Pdf::ImageExtractor::Placement
- Defined in:
- app/services/pdf/image_extractor.rb
Overview
One painted image. +path+ is the extracted temp file (jpg/png/jpx as the
PDF's encoding allows); +x+, +y+, +width+, +height+ are the on-page box.
Instance Attribute Summary collapse
-
#format ⇒ Object
readonly
Returns the value of attribute format.
-
#height ⇒ Object
readonly
Returns the value of attribute height.
-
#page ⇒ Object
readonly
Returns the value of attribute page.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#width ⇒ Object
readonly
Returns the value of attribute width.
-
#x ⇒ Object
readonly
Returns the value of attribute x.
-
#y ⇒ Object
readonly
Returns the value of attribute y.
Instance Attribute Details
#format ⇒ Object (readonly)
Returns the value of attribute format
24 25 26 |
# File 'app/services/pdf/image_extractor.rb', line 24 def format @format end |
#height ⇒ Object (readonly)
Returns the value of attribute height
24 25 26 |
# File 'app/services/pdf/image_extractor.rb', line 24 def height @height end |
#page ⇒ Object (readonly)
Returns the value of attribute page
24 25 26 |
# File 'app/services/pdf/image_extractor.rb', line 24 def page @page end |
#path ⇒ Object (readonly)
Returns the value of attribute path
24 25 26 |
# File 'app/services/pdf/image_extractor.rb', line 24 def path @path end |
#width ⇒ Object (readonly)
Returns the value of attribute width
24 25 26 |
# File 'app/services/pdf/image_extractor.rb', line 24 def width @width end |
#x ⇒ Object (readonly)
Returns the value of attribute x
24 25 26 |
# File 'app/services/pdf/image_extractor.rb', line 24 def x @x end |
#y ⇒ Object (readonly)
Returns the value of attribute y
24 25 26 |
# File 'app/services/pdf/image_extractor.rb', line 24 def y @y end |