Class: PDF::Writer
- Inherits:
-
Object
- Object
- PDF::Writer
- Defined in:
- lib/writer.rb
Defined Under Namespace
Classes: StrokeStyle
Instance Method Summary collapse
-
#page_break(pad_top) ⇒ Object
performs page break with the specified top padding (page header height for ex.).
- #y=(yy) ⇒ Object
Instance Method Details
#page_break(pad_top) ⇒ Object
performs page break with the specified top padding (page header height for ex.)
19 20 21 22 |
# File 'lib/writer.rb', line 19 def page_break(pad_top) start_new_page self.y = self.y - pad_top end |
#y=(yy) ⇒ Object
24 25 26 |
# File 'lib/writer.rb', line 24 def y=(yy) @y = yy end |