Class: VivlioStarter::Pdf::Reader::ImageAsset

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

Overview

抽出済み画像アセット(ページ番号・ファイル名・座標情報を保持)

Instance Attribute Summary collapse

Instance Attribute Details

#bottomObject (readonly)

Returns the value of attribute bottom

Returns:

  • (Object)

    the current value of bottom



27
28
29
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 27

def bottom
  @bottom
end

#center_yObject (readonly)

Returns the value of attribute center_y

Returns:

  • (Object)

    the current value of center_y



27
28
29
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 27

def center_y
  @center_y
end

#filenameObject (readonly)

Returns the value of attribute filename

Returns:

  • (Object)

    the current value of filename



27
28
29
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 27

def filename
  @filename
end

#heightObject (readonly)

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



27
28
29
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 27

def height
  @height
end

#indexObject (readonly)

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



27
28
29
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 27

def index
  @index
end

#leftObject (readonly)

Returns the value of attribute left

Returns:

  • (Object)

    the current value of left



27
28
29
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 27

def left
  @left
end

#output_pathObject (readonly)

Returns the value of attribute output_path

Returns:

  • (Object)

    the current value of output_path



27
28
29
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 27

def output_path
  @output_path
end

#pageObject (readonly)

Returns the value of attribute page

Returns:

  • (Object)

    the current value of page



27
28
29
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 27

def page
  @page
end

#reference_pathObject (readonly)

Returns the value of attribute reference_path

Returns:

  • (Object)

    the current value of reference_path



27
28
29
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 27

def reference_path
  @reference_path
end

#rightObject (readonly)

Returns the value of attribute right

Returns:

  • (Object)

    the current value of right



27
28
29
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 27

def right
  @right
end

#topObject (readonly)

Returns the value of attribute top

Returns:

  • (Object)

    the current value of top



27
28
29
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 27

def top
  @top
end

#widthObject (readonly)

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



27
28
29
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 27

def width
  @width
end

#xObject (readonly)

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



27
28
29
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 27

def x
  @x
end