Example usage for com.lowagie.text.pdf PdfContentByte LINE_JOIN_ROUND

List of usage examples for com.lowagie.text.pdf PdfContentByte LINE_JOIN_ROUND

Introduction

In this page you can find the example usage for com.lowagie.text.pdf PdfContentByte LINE_JOIN_ROUND.

Prototype

int LINE_JOIN_ROUND

To view the source code for com.lowagie.text.pdf PdfContentByte LINE_JOIN_ROUND.

Click Source Link

Document

A possible line join value

Usage

From source file:org.oss.pdfreporter.pdf.Page.java

License:Open Source License

private int translateLineJoin(LineJoin lineJoin) {
    switch (lineJoin) {
    case BEVEL_JOIN:
        return PdfContentByte.LINE_JOIN_BEVEL;
    case MITER_JOIN:
        return PdfContentByte.LINE_JOIN_MITER;
    case ROUND_JOIN:
        return PdfContentByte.LINE_JOIN_ROUND;
    }/* ww  w .  java 2s.c  o m*/
    throw new NotImplementedException("LineJoin: " + lineJoin + " is unknown.");
}