Table of Contents

Class PdfCanvasConstants.LineCapStyle

Namespace
iText.Kernel.Pdf.Canvas
Assembly
itext.kernel.dll

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

public class PdfCanvasConstants.LineCapStyle
Inheritance
PdfCanvasConstants.LineCapStyle
Inherited Members

Remarks

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

Fields

BUTT

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

public const int BUTT = 0

Field Value

int

Remarks

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

PROJECTING_SQUARE

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

public const int PROJECTING_SQUARE = 2

Field Value

int

ROUND

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

public const int ROUND = 1

Field Value

int