DynaPDF Manual - Page 758

Previous Page 757   Index   Next Page 759

Function Reference
Page 758 of 839
The function sets the line join style which specifies how two line segments are connected. The
property must be applied inside an open page, template or pattern.
Style
Appearance
Description
jsMiterJoin
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 parameter — see
SetMiterLimit(), a bevel join is used instead.
jsRoundJoin
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.
jsBevelJoin
The two segments are finished with butt caps (see
SetLineCapStyle()) and the resulting notch beyond the
ends of the segments is filled with a triangle.
Default value = jsMiterJoin
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: SetLineDashPatternEx (obsolete), SetLineJoinStyle

Next topic: SetLineWidth, SetLinkHighlightMode