Class: Arrolio::Flowables::PageBreak

Inherits:
Arrolio::Flowable show all
Defined in:
lib/arrolio/flowables/page_break.rb

Instance Attribute Summary

Attributes inherited from Arrolio::Flowable

#style

Instance Method Summary collapse

Methods inherited from Arrolio::Flowable

#do_split, #initialize, #keep_together?, #keep_with_next?, #page_break_before?, #space_after, #space_before, #split, #splittable?

Constructor Details

This class inherits a constructor from Arrolio::Flowable

Instance Method Details

#emit(_x, _y, _width, _context = nil) ⇒ Object



8
# File 'lib/arrolio/flowables/page_break.rb', line 8

def emit(_x, _y, _width, _context = nil) = [[], 0.0]

#height(_width, _context = nil) ⇒ Object



6
# File 'lib/arrolio/flowables/page_break.rb', line 6

def height(_width, _context = nil) = 0.0

#page_break_after?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/arrolio/flowables/page_break.rb', line 10

def page_break_after?
  true
end