Class: VivlioStarter::Pdf::Reader::RenderedPageCrop

Inherits:
Data
  • Object
show all
Defined in:
lib/vivlio_starter/cli/pdf/reader.rb

Overview

OCR ページ画像からの切り出し領域

Instance Attribute Summary collapse

Instance Attribute Details

#heightObject (readonly)

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



33
34
35
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 33

def height
  @height
end

#leftObject (readonly)

Returns the value of attribute left

Returns:

  • (Object)

    the current value of left



33
34
35
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 33

def left
  @left
end

#source_image_pathObject (readonly)

Returns the value of attribute source_image_path

Returns:

  • (Object)

    the current value of source_image_path



33
34
35
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 33

def source_image_path
  @source_image_path
end

#topObject (readonly)

Returns the value of attribute top

Returns:

  • (Object)

    the current value of top



33
34
35
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 33

def top
  @top
end

#widthObject (readonly)

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



33
34
35
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 33

def width
  @width
end