Class: HexaPDF::Layout::TextLayouter::DummyLine

Inherits:
Struct
  • Object
show all
Defined in:
lib/hexapdf/layout/text_layouter.rb

Overview

:nodoc:

A dummy line class for use with Style#line_spacing methods in case a line actually consists of multiple line fragments.

Instance Method Summary collapse

Instance Method Details

#heightObject



813
814
815
# File 'lib/hexapdf/layout/text_layouter.rb', line 813

def height
  y_max - y_min
end