Package com.itextpdf.kernel.pdf.canvas
Class PdfCanvasConstants.LineCapStyle
java.lang.Object
com.itextpdf.kernel.pdf.canvas.PdfCanvasConstants.LineCapStyle
- Enclosing class:
- PdfCanvasConstants
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
Modifier and TypeFieldDescriptionstatic 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
-
Field Details
-
BUTT
public static final int BUTTThe 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 ROUNDA 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_SQUAREThe stroke continues beyond the endpoint of the path for a distance equal to half the line width and is squared off.- See Also:
-