Example usage for org.apache.pdfbox.contentstream.operator.state SetLineCapStyle SetLineCapStyle

List of usage examples for org.apache.pdfbox.contentstream.operator.state SetLineCapStyle SetLineCapStyle

Introduction

In this page you can find the example usage for org.apache.pdfbox.contentstream.operator.state SetLineCapStyle SetLineCapStyle.

Prototype

SetLineCapStyle

Source Link

Usage

From source file:org.fit.pdfdom.PDFBoxTree.java

License:Open Source License

public PDFBoxTree() throws IOException {
    super();//  www .ja  v a 2  s.c  o  m
    super.setSortByPosition(true);
    super.setSuppressDuplicateOverlappingText(true);

    //add operators for tracking the graphic state
    addOperator(new SetStrokingColorSpace());
    addOperator(new SetNonStrokingColorSpace());
    addOperator(new SetLineDashPattern());
    addOperator(new SetStrokingDeviceGrayColor());
    addOperator(new SetNonStrokingDeviceGrayColor());
    addOperator(new SetFlatness());
    addOperator(new SetLineJoinStyle());
    addOperator(new SetLineCapStyle());
    addOperator(new SetStrokingDeviceCMYKColor());
    addOperator(new SetNonStrokingDeviceCMYKColor());
    addOperator(new SetLineMiterLimit());
    addOperator(new SetStrokingDeviceRGBColor());
    addOperator(new SetNonStrokingDeviceRGBColor());
    addOperator(new SetRenderingIntent());
    addOperator(new SetStrokingColor());
    addOperator(new SetNonStrokingColor());
    addOperator(new SetStrokingColorN());
    addOperator(new SetNonStrokingColorN());
    addOperator(new SetFontAndSize());
    addOperator(new SetLineWidth());

    init();
}