Package com.itextpdf.kernel.pdf.canvas
Class PdfCanvasConstants.LineJoinStyle
- java.lang.Object
-
- com.itextpdf.kernel.pdf.canvas.PdfCanvasConstants.LineJoinStyle
-
- Enclosing class:
- PdfCanvasConstants
public static class PdfCanvasConstants.LineJoinStyle extends java.lang.Object
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".
-
-
Field Summary
Fields Modifier and Type Field Description static int
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.static 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.static int
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.
-
Constructor Summary
Constructors Modifier Constructor Description private
LineJoinStyle()
-
-
-
Field Detail
-
MITER
public static final 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. If the segments meet at too sharp an angle, a bevel join is used instead.- See Also:
- Constant Field Values
-
ROUND
public static final int 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 pieslice-shaped figure is filled in, producing a rounded corner.- See Also:
- Constant Field Values
-
BEVEL
public static final int 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.- See Also:
- Constant Field Values
-
-