The following range of options is available for capping and joining:
JOIN_MITER
: Extend outside
edges until they meet at a point.
JOIN_BEVEL
: Extend outside edges,
but trim off point.
JOIN_ROUND
: Round off outside
edges smoothly.
CAP_ROUND
: Terminate with round
end.
CAP_BUTT
: Terminate with square end.
CAP_SQUARE
: Terminate with square
end that projects one-half of the width of the line beyond the terminal
coordinates.