lib/hexapdf/layout/line.rb in hexapdf-0.41.0 vs lib/hexapdf/layout/line.rb in hexapdf-0.44.0

- old
+ new

@@ -171,9 +171,13 @@ # The items: TextFragment and InlineBox objects attr_accessor :items # An optional horizontal offset that should be taken into account when positioning the line. + # + # This offset always describes the offset from the left side (and not, for example, the offset + # from the right side of another line even if those two lines are actually on the same + # horizontal level). attr_accessor :x_offset # An optional vertical offset that should be taken into account when positioning the line. # # For the first line in a paragraph this describes the offset from the top of the box to the