Codota Logo
PdfContentByte.setLineJoin
Code IndexAdd Codota to your IDE (free)

How to use
setLineJoin
method
in
com.itextpdf.text.pdf.PdfContentByte

Best Java code snippets using com.itextpdf.text.pdf.PdfContentByte.setLineJoin (Showing top 12 results out of 315)

  • Common ways to obtain PdfContentByte
private void myMethod () {
PdfContentByte p =
  • Codota IconPdfWriter writer;writer.getDirectContent()
  • Codota IconPdfStamper pdfStamper;pdfStamper.getOverContent(pageNum)
  • Codota IconPdfStamper pdfStamper;pdfStamper.getUnderContent(pageNum)
  • Smart code suggestions by Codota
}
origin: com.itextpdf/itextpdf

public void setLineJoinRectangle(PdfContentByte cb) {
  if (lineJoin != 0) {
    lineJoin = 0;
    cb.setLineJoin(0);
  }
}
origin: com.itextpdf/itextpdf

public void setLineJoinPolygon(PdfContentByte cb) {
  if (lineJoin == 0) {
    lineJoin = 1;
    cb.setLineJoin(1);
  }
}
origin: com.itextpdf/itextg

public void setLineJoinRectangle(PdfContentByte cb) {
  if (lineJoin != 0) {
    lineJoin = 0;
    cb.setLineJoin(0);
  }
}
origin: com.itextpdf/itextg

public void setLineJoinPolygon(PdfContentByte cb) {
  if (lineJoin == 0) {
    lineJoin = 1;
    cb.setLineJoin(1);
  }
}
origin: org.gephi/preview-plugin

cb.setRGBColorStroke(outlineColor.getRed(), outlineColor.getGreen(), outlineColor.getBlue());
cb.setLineWidth(outlineSize);
cb.setLineJoin(PdfContentByte.LINE_JOIN_ROUND);
cb.setLineCap(PdfContentByte.LINE_CAP_ROUND);
if (outlineColor.getAlpha() < 255) {
origin: org.gephi/preview-plugin

cb.setRGBColorStroke(outlineColor.getRed(), outlineColor.getGreen(), outlineColor.getBlue());
cb.setLineWidth(outlineSize);
cb.setLineJoin(PdfContentByte.LINE_JOIN_ROUND);
cb.setLineCap(PdfContentByte.LINE_CAP_ROUND);
if (outlineColor.getAlpha() < 255) {
origin: org.xhtmlrenderer/flying-saucer-pdf-itext5

switch (nStroke.getLineJoin()) {
case BasicStroke.JOIN_MITER:
  cb.setLineJoin(0);
  break;
case BasicStroke.JOIN_BEVEL:
  cb.setLineJoin(2);
  break;
default:
  cb.setLineJoin(1);
origin: com.itextpdf/itextpdf

switch (nStroke.getLineJoin()) {
case BasicStroke.JOIN_MITER:
  cb.setLineJoin(0);
  break;
case BasicStroke.JOIN_BEVEL:
  cb.setLineJoin(2);
  break;
default:
  cb.setLineJoin(1);
origin: com.itextpdf/itextg

int function;
cb.setLineCap(1);
cb.setLineJoin(1);
for (;;) {
  int lenMarker = in.getLength();
origin: com.itextpdf/itextpdf

int function;
cb.setLineCap(1);
cb.setLineJoin(1);
for (;;) {
  int lenMarker = in.getLength();
origin: com.itextpdf/itextg

saveState();
setLineCap(PdfContentByte.LINE_CAP_BUTT);
setLineJoin(PdfContentByte.LINE_JOIN_MITER);
float clw = 0;
boolean cdef = false;
origin: com.itextpdf/itextpdf

saveState();
setLineCap(PdfContentByte.LINE_CAP_BUTT);
setLineJoin(PdfContentByte.LINE_JOIN_MITER);
float clw = 0;
boolean cdef = false;
com.itextpdf.text.pdfPdfContentBytesetLineJoin

Javadoc

Changes the Line join style.

The line join style specifies the shape to be used at the corners of paths that are stroked.
Allowed values are LINE_JOIN_MITER (Miter joins), LINE_JOIN_ROUND (Round joins) and LINE_JOIN_BEVEL (Bevel joins).

Popular methods of PdfContentByte

  • addTemplate
    adds a template with the given matrix.
  • createTemplate
  • beginText
    Starts the writing of text.
  • endText
    Ends the writing of text and makes the current font invalid.
  • lineTo
    Appends a straight line segment from the current point (x, y). The new current point is (x, y).
  • moveTo
    Move the current point (x, y), omitting any connecting line segment.
  • restoreState
    Restores the graphic state. saveState andrestoreState must be balanced.
  • saveState
    Saves the graphic state. saveState andrestoreState must be balanced.
  • setFontAndSize
    Set the font and the size for the subsequent text writing.
  • setLineWidth
    Changes the line width. The line width specifies the thickness of the line used to stroke a path and
  • stroke
    Strokes the path.
  • addImage
    Adds an Image to the page. The Image must have absolute positioning. The image can be placed inline.
  • stroke,
  • addImage,
  • setTextMatrix,
  • showText,
  • fill,
  • rectangle,
  • setColorFill,
  • setColorStroke,
  • setGState,
  • beginLayer

Popular in Java

  • Making http post requests using okhttp
  • getExternalFilesDir (Context)
  • onRequestPermissionsResult (Fragment)
  • addToBackStack (FragmentTransaction)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now