Sets the cap style for stroked lines and curves
style is one of :butt, :round, or :projecting_square
NOTE: If this method is never called, :butt will be used by default.
# File lib/prawn/graphics/cap_style.rb, line 21
21: def cap_style(style=nil)
22: return @cap_style || :butt if style.nil?
23:
24: @cap_style = style
25:
26: write_stroke_cap_style
27: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.