iText 7 7.1.9 API
iText.Kernel.Pdf.Canvas.PdfCanvasConstants.LineCapStyle Class Reference

The line cap style specifies the shape to be used at the ends of open subpaths (and dashes, if any) when they are stroked. More...

Static Public Attributes

const int  BUTT = 0
  The stroke is squared of at the endpoint of the path. More...
 
const int  ROUND = 1
  A semicircular arc with a diameter equal to the line width is drawn around the endpoint and filled in. More...
 
const int  PROJECTING_SQUARE = 2
  The stroke continues beyond the endpoint of the path for a distance equal to half the line width and is squared off. More...
 

Detailed Description

The line cap style specifies the shape to be used at the ends of open subpaths (and dashes, if any) when they are stroked.

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

Member Data Documentation

◆ BUTT

const int iText.Kernel.Pdf.Canvas.PdfCanvasConstants.LineCapStyle.BUTT = 0
static

The stroke is squared of at the endpoint of the path.

The stroke is squared of at the endpoint of the path. There is no projection beyond the end of the path.

◆ PROJECTING_SQUARE

const int iText.Kernel.Pdf.Canvas.PdfCanvasConstants.LineCapStyle.PROJECTING_SQUARE = 2
static

The stroke continues beyond the endpoint of the path for a distance equal to half the line width and is squared off.

◆ ROUND

const int iText.Kernel.Pdf.Canvas.PdfCanvasConstants.LineCapStyle.ROUND = 1
static

A semicircular arc with a diameter equal to the line width is drawn around the endpoint and filled in.