Example usage for com.itextpdf.text.pdf PdfContentByte LINE_JOIN_BEVEL

List of usage examples for com.itextpdf.text.pdf PdfContentByte LINE_JOIN_BEVEL

Introduction

In this page you can find the example usage for com.itextpdf.text.pdf PdfContentByte LINE_JOIN_BEVEL.

Prototype

int LINE_JOIN_BEVEL

To view the source code for com.itextpdf.text.pdf PdfContentByte LINE_JOIN_BEVEL.

Click Source Link

Document

A possible line join value

Usage

From source file:mkl.testarea.itext5.pdfcleanup.PdfCleanUpRegionFilter.java

License:Open Source License

private static JoinType getJoinType(int lineJoinStyle) {
    switch (lineJoinStyle) {
    case PdfContentByte.LINE_JOIN_BEVEL:
        return JoinType.BEVEL;

    case PdfContentByte.LINE_JOIN_MITER:
        return JoinType.MITER;
    }/*from w w  w  . j a va  2s  .com*/

    return JoinType.ROUND;
}