Class: HexaPDF::Content::SmartTextExtractor::Line

Inherits:
Struct
  • Object
show all
Defined in:
lib/hexapdf/content/smart_text_extractor.rb

Overview

Holds an array of TextRun objects and their median baseline.

Instance Attribute Summary collapse

Instance Attribute Details

#baselineObject

Returns the value of attribute baseline

Returns:

  • (Object)

    the current value of baseline



212
213
214
# File 'lib/hexapdf/content/smart_text_extractor.rb', line 212

def baseline
  @baseline
end

#text_runsObject

Returns the value of attribute text_runs

Returns:

  • (Object)

    the current value of text_runs



212
213
214
# File 'lib/hexapdf/content/smart_text_extractor.rb', line 212

def text_runs
  @text_runs
end