Class PdfCanvasConstants.LineJoinStyle

java.lang.Object
com.itextpdf.kernel.pdf.canvas.PdfCanvasConstants.LineJoinStyle
Enclosing class:
PdfCanvasConstants

public static class PdfCanvasConstants.LineJoinStyle extends 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 final int
    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 final int
    The outer edges of the strokes for the two segments are extended until they meet at an angle, as in a picture frame.
    static final int
    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.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • 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:
    • 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:
    • 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: