Class: VivlioStarter::Pdf::Reader::Fragment

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

Overview

— Data 構造体 — テキスト断片(座標付き)

Instance Attribute Summary collapse

Instance Attribute Details

#rightObject (readonly)

Returns the value of attribute right

Returns:

  • (Object)

    the current value of right



19
20
21
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 19

def right
  @right
end

#textObject (readonly)

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



19
20
21
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 19

def text
  @text
end

#xObject (readonly)

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



19
20
21
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 19

def x
  @x
end

#yObject (readonly)

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



19
20
21
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 19

def y
  @y
end