Table of Contents

Class PdfCanvasConstants.LineJoinStyle

Namespace
iText.Kernel.Pdf.Canvas
Assembly
itext.kernel.dll

The line join style specifies the shape to be used at the corners of paths that are stroked.

public class PdfCanvasConstants.LineJoinStyle
Inheritance
PdfCanvasConstants.LineJoinStyle
Inherited Members

Remarks

The line join style specifies the shape to be used at the corners of paths that are stroked. Join styles are significant only at points where consecutive segments of a path connect at an angle; segments that meet or intersect fortuitously receive no special treatment. All documentation for this class is taken from ISO 32000-1, section 8.4.3.4 "Line Join Style".

Fields

BEVEL

The two segments are finished with butt caps (@see LineCapStyle#BUTT) and the resulting notch beyond the ends of the segments is filled with a triangle.

public const int BEVEL = 2

Field Value

int

MITER

The outer edges of the strokes for the two segments are extended until they meet at an angle, as in a picture frame.

public const int MITER = 0

Field Value

int

Remarks

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, 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.

public const int ROUND = 1

Field Value

int

Remarks

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 pieslice-shaped figure is filled in, producing a rounded corner.