Prawn::Graphics::JoinStyle

Constants

JOIN_STYLES

Public Instance Methods

join_style(style=nil) click to toggle source

Sets the join style for stroked lines and curves

style is one of :miter, :round, or :bevel

NOTE: if this method is never called, :miter will be used for join style throughout the document

# File lib/prawn/graphics/join_style.rb, line 22
def join_style(style=nil)
  return current_join_style || :miter if style.nil?

  self.current_join_style = style

  write_stroke_join_style
end
Also aliased as: join_style=
join_style=(style=nil) click to toggle source
Alias for: join_style

[Validate]

Generated with the Darkfish Rdoc Generator 2.