Method: PDF::Writer::Graphics#close
- Defined in:
- lib/pdf/writer/graphics.rb
#close ⇒ Object
Close the current path by appending a straight line segment from the drawing point to the starting point of the path. If the path is closed, this does nothing. This operator terminates the current subpath.
50 51 52 53 |
# File 'lib/pdf/writer/graphics.rb', line 50 def close add_content(" h") self end |