DynaPDF Manual - Page 741

Previous Page 740   Index   Next Page 742

Function Reference
Page 741 of 818
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.
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.
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.
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

Start Chat