Method: PDF::Writer::StrokeStyle#join

Defined in:
lib/extensions/pdf-writer/pdf/writer/strokestyle.rb

#joinObject

How two lines join together.

:miter

The outer edges of the strokes for the two segments are extended until they meet at an angle, as in a picture frame. If the segments meet at too sharp an angle (as defined by the #miter_limit), a bevel join is used instead.

:round

An arc of a circle with a diameter equal to the line width is drawn around the point where the two segments meet, connecting the outer edges of the strokes for the two segments. This pie-slice shaped figure is filled in, producing a rounded corner.

:bevel

The two segments are finished with butt caps and the the resulting notch beyond the ends of the segments is filled with a triangle, forming a flattened edge on the join.

nil

Keeps the current line join.



69
70
71
# File 'lib/extensions/pdf-writer/pdf/writer/strokestyle.rb', line 69

def join
  @join
end