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

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

Introduction

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

Prototype

int LINE_JOIN_MITER

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

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  .  ja va 2s  .c  o  m

    return JoinType.ROUND;
}