Method: EideticPDF::DocumentWriter#path
- Defined in:
- lib/epdfdw.rb
#path(options = {}, &block) ⇒ Object
Turn off auto_path. If a block is given, yields to it before filling and/or stroking anything drawn within it according to the options
supplied. The path may be non-contiguous. Shapes may be hollow when inner paths are drawn in the opposite direction as outer paths.
The following options apply:
- :
stroke
-
If true or a color, the path will be stroked with the current or specified
line_color
, respectively. Defaults tofalse
. - :
fill
-
If true or a color, the area bounded by the path will be filled with the current or specified
fill_color
, respectively. Defaults tofalse
.
401 402 403 |
# File 'lib/epdfdw.rb', line 401 def path(={}, &block) cur_page.path(, &block) end |