Class PdfCanvasConstants.LineCapStyle

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

public static class PdfCanvasConstants.LineCapStyle extends Object
The line cap style specifies the shape to be used at the ends of open subpaths (and dashes, if any) when they are stroked. All documentation for this class is taken from ISO 32000-1, section 8.4.3.3 "Line Cap Style".
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The stroke is squared of at the endpoint of the path.
    static final int
    The stroke continues beyond the endpoint of the path for a distance equal to half the line width and is squared off.
    static final int
    A semicircular arc with a diameter equal to the line width is drawn around the endpoint and filled in.
  • Method Summary

    Methods inherited from class java.lang.Object

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

    • BUTT

      public static final int BUTT
      The stroke is squared of at the endpoint of the path. There is no projection beyond the end of the path.
      See Also:
    • ROUND

      public static final int ROUND
      A semicircular arc with a diameter equal to the line width is drawn around the endpoint and filled in.
      See Also:
    • PROJECTING_SQUARE

      public static final int PROJECTING_SQUARE
      The stroke continues beyond the endpoint of the path for a distance equal to half the line width and is squared off.
      See Also: