Class: VivlioStarter::Pdf::Reader::IllustrationRegion

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



29
30
31
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 29

def height
  @height
end

#leftObject (readonly)

Returns the value of attribute left

Returns:

  • (Object)

    the current value of left



29
30
31
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 29

def left
  @left
end

#topObject (readonly)

Returns the value of attribute top

Returns:

  • (Object)

    the current value of top



29
30
31
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 29

def top
  @top
end

#widthObject (readonly)

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



29
30
31
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 29

def width
  @width
end