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 value is a number, the new line_width setting. If value is a symbol (such as :pt, :cm or :in), the units to return the current line_width in. If value is 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