Method: EideticPDF::DocumentWriter#line_width
- Defined in:
- lib/epdfdw.rb
#line_width(value = nil, units = nil) ⇒ Object
Set line width used when stroking paths. If no width is specified, returns current line_width.
value-
If
valueis a number, the newline_widthsetting. Ifvalueis a symbol (such as :pt, :cm or :in), the units to return the currentline_widthin. Ifvalueis a string, it may include the units as a suffix, e.g. “5.5in” for 5.5 inches. units-
Units value is expressed in. Defaults to current units setting.
448 449 450 |
# File 'lib/epdfdw.rb', line 448 def line_width(value=nil, units=nil) cur_page.line_width(value, units) end |